阅读背景:

Rails创建记录后,如何自动创建关联记录?

来源:互联网 

I have a Ratings model where a user can rate an object... After a rating takes place I want to then automatically create a RatingLog record so the user can see a list of all the ratings.I have a Ratings model where a user can rate an




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

分享到: