阅读背景:

使用自定义外键的Rails belong_to has_many

来源:互联网 

I have a relationship between 2 models in my rails application. I have veered away from the standard of how to implement the relationship as I used another field as a primary key and the naming convention is different. Doing so resulted in the relationship seemingly not being established. I want to understand as to why.I have a relationship between 2 models in my ra




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

分享到: