阅读背景:

Rails:是否可以为has_and_belongs_to_many关联添加额外的属性?

来源:互联网 

What I mean is if I have two models, connected by a has_and_belongs_to_many association, can I store other data in the join table for each association? That is, the extra data would not be part of a single record in either table, but instead of the connection between them. What I mean is if I have two models, connected




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

分享到: