selecting rows with checkboxes and process them

hey, uh well just customize the list.rhtml
view so that it loops through each record and writes out a checkbox for
each one in the correct location with a unique name, something like
“checkbox_1” where the 1 is the id of the current record. Then wrap the
list in a form pointing to an action called “list_update” or something.
Then in the action, loop through all the items in param saying:

param.each do |key,value|

if key =~ /^checkbox_([0-9]+)$/

   @record.find($1)

   @record.status = "new status"

   @record.save

end

end

Remco Hh wrote: