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. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
what is the version of Rails you are using? On Sun, Jan 4, 2009 at 10:26 PM, cutegirl <wei.wen0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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. > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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> > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
thanks! On Jan 4, 12:07 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 > > > > - Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 > > > > - Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
huard.elise-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Jan-04 20:16 UTC
Re: undefined method `start_form_tag''
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/ On Jan 4, 7:17 pm, cutegirl <wei.w...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > 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 > > > - Hide quoted text - > > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---