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,