Forum: Ruby on Rails text_field or text_field_tag

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
79ad5a1770c5cf086735a10ef7db6598?d=identicon&s=25 zero0x (Guest)
on 2008-12-29 19:32
(Received via mailing list)

I'm watching Ryan Bates' forms screencast #1, and he says that I
should use text_field when I'm updating an object, otherwise

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_#{}", "title", {:value =>

Is this a good way?
This topic is locked and can not be replied to.