阅读背景:

为什么ActiveRecord关联返回每个关联对象的两个副本

来源:互联网 

I have...

我有...

class Report < ActiveRecord::Base
  has_and_belongs_to_many :elements
end

class Element < ActiveRecord::Base
  has_and_belongs_to_many :reports
end
class Report < ActiveRecord



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: