开发者

Bulk Actions on Rails Restful Resources

I am trying to implement a bulk update feature in a Rails app, the model I want to update is a restful resource. I need to display a table where each row is a single resource an开发者_StackOverflow中文版d has a check box. The user can check as many boxes as they like and then chose an action to perform on all of the selected resources, eg delete, change status etc.

Does anyone have a an idea of how best this fits into the rails restful way of doing things?

Thanks.


Ryan Bates has a couple of Railscasts covering this:

Update through checkboxes

Edit Multiple

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜