阅读背景:

使用父方法整数限制has_many assossiation中的模型

来源:互联网 

I have a model named course with an attribute of capacity how can I limit its child model named course_enrollment which is a rich model between course and students with the attribute of its parent ?(I mean the capacity attribute mentioned above)I am working on Ruby on Rails and it is my first question here in stack over flowI have a model named course with an attribute o




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

分享到: