formshelper

Rails forms helper: dealing with complex forms and params (it's my first day with rails)

Learning rails and something smells a little funny. I have the following form for updating quantities in a shopping cart. <% form_for(:cart, @cart.items, :url => { :action => "update_cart" }) do |f| %> <table> <tr> <th>Item</th> <th>Quantity</th> <th>Price</th> </tr> <% for item in @cart.items %> ...