我将我的应用程序从rails 2.3.11迁移到rails 3.2.1
我的模特
class Campaign < ActiveRecord::Base
has_many :campaign_reports
end
class CampaignReport < ActiveRecord::Base
belongs_to :campaign
end
在控制台中,我得到了输出但是当我做
时c = Campaign.first
c.campaign_reports
我得到了
(对象不支持#inspect)
答案 0 :(得分:1)
我发现的是
/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