Editing multiples rows in a single table

I have a table that contains user options, so the table looks like id username option_name option_value

How do I create a single page that allows me to edit all the options? Would it be something like

<% form_for :options, :url => { :action => "update_options" } do | form> %> <tr>   <td><%= form.label :option_name %></td>   <td><%= form.text_field :option_value %></td> </tr> <% end %> <%= submit_tag "save", :class => "save" %>

If so, how do I send both the id and username?

Thanks,

Check out some of the railscasts episodes (http://railscasts.com). Search for 'multiple' and you might find something of interest to you.