Greg
Greg

Reputation: 785

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

Upvotes: 4

Views: 4283

Answers (1)

Marc
Marc

Reputation: 483

Ryan Bates has a couple of Railscasts covering this:

Update through checkboxes

Edit Multiple

Upvotes: 5

Related Questions