I migrate my application from rails 2.3.11 to rails 3.2.1
My models
class Campaign < ActiveRecord::Base
has_many :campaign_reports
end
class CampaignReport < ActiveRecord::Base
belongs_to :campaign
end
In console
c = Campaign.first
I got the output but when I do
c.campaign_reports
I got
(Object doesn't support #inspect)
=>
I m using
rails 3.2.1
ruby ruby 1.9.2p290
gem 1.8.15
rvm 1.10.2
Please help me :(
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.