Sent from my iPhone

On Mar 27, 2011, at 9:15 AM, amritpal pathak <amritpalpath...@gmail.com> wrote:

> I tried to generate the form using 
>  <%= start_form_tag :action => 'create' %>                 in 
> app/view/book/new.rhtml
>                   and when i browse to localhost:3000/book/new  i got the 
> following error
> 
>  undefined method `start_form_tag' for #<ActionView::Base:0xb67231f0>
> 

Start_form_tag and end_form_tag were deprecated in Rails 2.0. Use Rails 3 
documentation to see the proper use of form_tag. 

B. 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to