Forum: Ruby on Rails form rendering commands, which one?

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.
7ed559ec7f9fc6a96ddc1690f06e7f80?d=identicon&s=25 Chris Olsen (chrisolsen)
on 2007-02-02 06:16
So far I have tallied 3 different ways of creating a form


Is one of the above the latest and greatest and is the preferred method
or is there a certain use for each of the above?
3e6bbd5a01437feec48adf3838b15d91?d=identicon&s=25 askegg (Guest)
on 2007-02-02 06:38
(Received via mailing list)
On Feb 2, 4:16 pm, Chris Olsen <>
> Posted via
The prefered method is "form_tag", eg:

<% form_tag :action => "create" do %>
  My pretty form!
<% end %>

7ed559ec7f9fc6a96ddc1690f06e7f80?d=identicon&s=25 Chris Olsen (chrisolsen)
on 2007-02-03 04:29
(Received via mailing list)
Thanks for the input. From the article it does mention that the
start_form_tag, end_form_tag is deprecated, but no real comparison
between the form_tag and form_for.  I am assuming they are both
This topic is locked and can not be replied to.