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?

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!

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!

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/