阅读背景:

如何使用ActiveRecord关联在rails中指定模型之间的多个关系

来源:互联网 

Say there're two models : User and Post, i want to keep track of who has read which post, and who writes which post, which user favorites which posts etc. Then i come up with the following solution:Say there're two models : User and Post, i want




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

分享到: