Wednesday, June 13, 2012

[Rails] Re: user registration form example?

thanks for the <%=
I was referring to this tutorial again:
http://rails.francik.name/tutorial/chapter/5#23

It uses :user instead of @user for the form creation

However I could not get it to work with the @user, had to use :user to
load the form in browser.

Another problem am getting when am clicking on Register button for the
form is :

Routing Error

No route matches [POST] "/user/register"

Try running rake routes for more information on available routes.

--
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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate