Dennis Fashimpaur
2012-Feb-05 05:17 UTC
Forms do not display in browser. What am I doing wrong?
All, I am a rookie to Ruby on Rails. I just started with a book from O''Reilly on Friday (Learning Rails). I have run through several examples in the book that didnt work and have figured out what the problem was. That was until I tried the form example. I have attached the various files for your assistance. I can upload additional ones if necessary. I really am grateful for anyone that can help me understand this issue. Attachments: http://www.ruby-forum.com/attachment/6952/ruby_form_sign_in_html_erb.jpg http://www.ruby-forum.com/attachment/6953/ruby_form_view_source.jpg http://www.ruby-forum.com/attachment/6954/entries_controller.rb http://www.ruby-forum.com/attachment/6955/sign_in.html.erb http://www.ruby-forum.com/attachment/6956/application.rb http://www.ruby-forum.com/attachment/6957/environment.rb http://www.ruby-forum.com/attachment/6958/routes.rb -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Geoffroy Gomet
2012-Feb-05 09:06 UTC
Re: Forms do not display in browser. What am I doing wrong?
Hey Dennis, Your "form_for" tag is missing the = sign , it should be <%= form_ for ... Regards Geoffroy On Feb 5, 6:17 am, Dennis Fashimpaur <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> All, I am a rookie to Ruby on Rails. I just started with a book from > O''Reilly on Friday (Learning Rails). > > I have run through several examples in the book that didnt work and have > figured out what the problem was. That was until I tried the form > example. > > I have attached the various files for your assistance. I can upload > additional ones if necessary. > > I really am grateful for anyone that can help me understand this issue. > > Attachments:http://www.ruby-forum.com/attachment/6952/ruby_form_sign_in_html_erb.jpghttp://www.ruby-forum.com/attachment/6953/ruby_form_view_source.jpghttp://www.ruby-forum.com/attachment/6954/entries_controller.rbhttp://www.ruby-forum.com/attachment/6955/sign_in.html.erbhttp://www.ruby-forum.com/attachment/6956/application.rbhttp://www.ruby-forum.com/attachment/6957/environment.rbhttp://www.ruby-forum.com/attachment/6958/routes.rb > > -- > Posted viahttp://www.ruby-forum.com/.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
Simon St.Laurent
2012-Feb-06 14:45 UTC
Re: Forms do not display in browser. What am I doing wrong?
Yep - I''m the author. <% form_for used to work, but now it''s <%form_for. I''m not sure if you have the print version or the ebook edition, but you definitely want to make sure you''re working with Learning Rails 3, which is (currently) just an ebook as we work on updating it. If you have the original book for 2.1, many many things have changed since it was published. Thanks, Simon St.Laurent On Feb 5, 12:17 am, Dennis Fashimpaur <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> All, I am a rookie to Ruby on Rails. I just started with a book from > O''Reilly on Friday (Learning Rails). > > I have run through several examples in the book that didnt work and have > figured out what the problem was. That was until I tried the form > example. > > I have attached the various files for your assistance. I can upload > additional ones if necessary. > > I really am grateful for anyone that can help me understand this issue. > > Attachments:http://www.ruby-forum.com/attachment/6952/ruby_form_sign_in_html_erb.jpghttp://www.ruby-forum.com/attachment/6953/ruby_form_view_source.jpghttp://www.ruby-forum.com/attachment/6954/entries_controller.rbhttp://www.ruby-forum.com/attachment/6955/sign_in.html.erbhttp://www.ruby-forum.com/attachment/6956/application.rbhttp://www.ruby-forum.com/attachment/6957/environment.rbhttp://www.ruby-forum.com/attachment/6958/routes.rb > > -- > Posted viahttp://www.ruby-forum.com/.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
Bill Watt
2012-Mar-04 19:32 UTC
Re: Forms do not display in browser. What am I doing wrong?
Thanks for the info! I was going a little crazy figuring out what little detail had changed here and there. One thing I haven''t been able to figure out- where can I get the ebook? I bought the paperback yesterday and have been looking in the book and online for where I can get the latest updates. Thanks, Bill -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.