阅读背景:

如何从视图中添加模型之间的关联

来源:互联网 

I have events and users. On the event show page I want to have a button that is "attend." I want to take the current_user and add an association to the current event therefore making the user "attend" the event.I have events and users. On the event show page




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

分享到: