views:

170

answers:

1

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 and 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.

+1  A: 

Ryan Bates has a couple of Railscasts covering this:

Update through checkboxes

Edit Multiple

Marc Roberts