无法在ActiveRecord中定义关系

时间:2016-09-18 12:38:05

标签: ruby-on-rails activerecord associations

我正在尝试在attribute_set和属性表之间创建关联。虽然ActiveRecord一直显示此错误。

ArgumentError: You tried to define an association named attributes on the model AttributeSet, but this will conflict with a method attributes already defined by Active Record. Please choose a different association name.

0 个答案:

没有答案