Displaying 1 result from an estimated 1 matches for "views_exampl".
Did you mean:
views_example
2010 Jun 10
1
RSpec 2: uninitialized constant - mocking belongs_to AR relation
...ristianconsult/.rvm/gems/ruby-1.9.2-head/bundler/gems/
rspec-expectations-996c752171a0a0e16347e934dadc25767e31186c-master/lib/
rspec/expectations/backward_compatibility.rb:6:in `const_missing''
from /Users/kristianconsult/Development/Languages/Ruby/Apps/Web-apps/
Rails/Rails-3/Experimental/views_example/app/models/message.rb:2:in
`<class:Message>''
from /Users/kristianconsult/Development/Languages/Ruby/Apps/Web-apps/
Rails/Rails-3/Experimental/views_example/app/models/message.rb:1:in
`<top (required)>''
--
class Message < ActiveRecord::Base
belongs_to :recipient,...