Forum: Ruby on Rails undefined method `start_form_tag'

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ac4349fcc45c7af6fa8129a84a13654f?d=identicon&s=25 cutegirl (Guest)
on 2009-01-04 17:56
(Received via mailing list)
I tried to generate a form using the Rails "start_form_tag", but got
the error message "undefined method `start_form_tag'  for
#<ActionView::Base:0x47b4c70>". What could be missing here. Thanks for
help.
D921e53e9ad4d762fd022f45cdd63da0?d=identicon&s=25 Nilesh Kumar (nilez)
on 2009-01-04 17:58
(Received via mailing list)
what is the version of Rails you are using?
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2009-01-04 18:08
(Received via mailing list)
On 4 Jan 2009, at 16:56, cutegirl wrote:

>
> I tried to generate a form using the Rails "start_form_tag", but got
> the error message "undefined method `start_form_tag'  for
> #<ActionView::Base:0x47b4c70>". What could be missing here. Thanks for
> help.

start_form_tag was removed from rails over a year ago. Use form_tag
instead.

Fred
Ac4349fcc45c7af6fa8129a84a13654f?d=identicon&s=25 cutegirl (Guest)
on 2009-01-04 19:12
(Received via mailing list)
thanks!

On Jan 4, 12:07 pm, Frederick Cheung <frederick.che...@gmail.com>
Ac4349fcc45c7af6fa8129a84a13654f?d=identicon&s=25 cutegirl (Guest)
on 2009-01-04 19:18
(Received via mailing list)
If only "form_tag" is needed, how can one know where is the end of the
form? Rails seems to evolve so fast that a book from a year ago is
useless. Where can I get the update info of Rails?  Thanks for help!

On Jan 4, 12:07 pm, Frederick Cheung <frederick.che...@gmail.com>
1f36de0ab637612b390bbc4ac52b0b80?d=identicon&s=25 huard.elise@gmail.com (Guest)
on 2009-01-04 21:17
(Received via mailing list)
it's a helper that takes a code block
<%= form_tag '/path' do %>
  <!-- insert your form here -->
<% end %>
check out the API (you can also download a nice version from
http://www.railsbrain.com/
This topic is locked and can not be replied to.