阅读背景:

在rails上的ruby中使用连接表

来源:互联网 

Lets say I have two databases: one for students and one for classes. I would like to be able to 'add' classes to a specific student and also be able to add students to a specific class. I assume I need to use a join table here but I am a little lost on how to use them. I would ultimately like to be able to do something like:Lets say I have two databases: one for students




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

分享到: