阅读背景:

Rails自定义嵌套更新未更新

来源:互联网 

My app has an Animal model which has many (and accepts nested attributes for) Packages. In my Animals Controller, I created the following action to allow for the editing of certain Animal (and nested Package) attributes in a separate page (and for a separate user role) from that used for normal Animal editing. (To clarify, I have an animals#edit action and page, and a separate animals#log action and page, which ideally allow different user roles to edit different things about the animal):My app has an Animal model which has many (and




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

分享到: