开发者

Form for one model with many objects

开发者 https://www.devze.com 2023-02-16 19:53 出处:网络
UPD. I need to display multiple records of a single model in a form.Then after updating some values I need to save all the records data at once..that is my form view should work like a spread she开发者

UPD. I need to display multiple records of a single model in a form.Then after updating some values I need to save all the records data at once..that is my form view should work like a spread she开发者_JAVA百科et. The requirement is, from one table I need to get data and populate all rows in a form. After that I have to edit some columns then and I should save all records of this model to database at a time.


Here is Railscast which presents how to edit multiple records in one form.

0

精彩评论

暂无评论...
验证码 换一张
取 消