This is a (very) simple Rails app to demonstrate editing multiple records on the same form.
Check out edit_all and update_all in users_controller.rb as well as the routes and edit_all.html.erb for the form.
See http://anthonylewis.com/2011/04/15/editing-multiple-records-in-rails/ for more information.