阅读背景:

如何在Rails中管理没有id的表?

来源:互联网 

I have two models: Person and Relation. The second one stores information about relations between two people. It has parent_id and child_id fields and doesn`t have id field. I connected it with has_many :through and it works.I have two models: Person and Relation. The sec




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

分享到: