Hi, I noticed this strange behavior in one of my templates: <% for shoe in @product.shoes %> <tr> <td headers="size"><%= shoe.size %></td> <td headers="amount"> <%= start_form_tag :action => "update_shoe" %> <%= hidden_field "shoe", "id" %> <%= text_field("shoe", "amount", "size" => 5, "maxlength" => 5) %> <input type="submit" value="Update" /> <%= end_form_tag() %> </td> <td><%= link_to "Delete", :action => "del_shoe", :id => shoe.id %></td> </tr> <% end %> Results in: <tr> <td headers="size">46</td> <td headers="amount"> <form action="/admin/update_shoe" method="post"> <input id="shoe_id" name="shoe[id]" type="hidden" value="" /> <input id="shoe_amount" maxlength="5" name="shoe[amount]" size="5" type="text" value="0" /> <input type="submit" value="Update" /> </form> </td> <td><a href="/admin/del_shoe/1">Delete</a></td> </tr> Notably, hidden_field and text_field don''t fill in the existing values (value="0" in the text field is wrong). However in link_to the shoe id is working fine. Any way I can get around this? TIA, //jarkko -- Jarkko Laine http://jlaine.net http://odesign.fi _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails