Reputation: 2584
I migrated 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 the console, I got the output but when I do
c = Campaign.first
c.campaign_reports
I get
(Object doesn't support #inspect)
Upvotes: 1
Views: 468
Reputation: 2584
what I found is
/home/manish/.rvm/gems/ruby-1.9.2-p290/gems/soap4r-1.5.8/lib/soap/property.rb:68: warning: encoding option is ignored - u
/home/manish/.rvm/gems/ruby-1.9.2-p290/gems/soap4r-1.5.8/lib/soap/property.rb:69: warning: encoding option is ignored - u
/home/manish/.rvm/gems/ruby-1.9.2-p290/gems/soap4r-1.5.8/lib/soap/property.rb:70: warning: encoding option is ignored - u
Upvotes: 1