Undefined method `start_form_tag'

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.

what is the version of Rails you are using?

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

thanks!

On Jan 4, 12:07 pm, Frederick C. [email protected]

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 C. [email protected]

it’s a helper that takes a code block
<%= form_tag ‘/path’ do %>

<% end %>
check out the API (you can also download a nice version from
http://www.railsbrain.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs