One of my views enables searching records using a text field. The
rendered view contains only records that match the search.
After the view has rendered, I want to add an option to perform an
update on the displayed records. The problem is, I don't know how to
figure out which records are shown, since the search form is different
from the update form, and I can only submit one of them.
Do you edit one by one, or are you looking for something more like an
edit in place within the listing?
It's more like finding the records to update using a filtering form, and
then updating some or all the attributes in these records using another
update form. More code and explanations in this post:
http://railsforum.com/viewtopic.php?id=27309
Feel free to answer there, and I'll link it here.
Thanks!