Hi, I'm watching Ryan Bates' forms screencast #1, and he says that I should use text_field when I'm updating an object, otherwise text_field_tag.
How about this: I'm looping through each row of a table and displaying form for each. (but there's only one form, because I want it to be submited all at once). Now I'm not sure how should I do it, so far I have something like text_field("item_#{item.id}", "title", {:value => item.title}); Is this a good way? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---