Thursday, 5 September 2013

Rails 4 + Devise + Routing Error

Rails 4 + Devise + Routing Error

I'm attempting to install Devise on a rather simple event
creating/displaying Rails 4 app. I have 2 static pages and the index page
displaying without authentication, and all is well there. Anything else
kicks you to the "sign up" page. From there, when I attempt to create an
account for myself (to simply see the other pages- simple vanilla devise
installation attempt) I get a "No route matches [POST]
"/registrations/user" error when clicking "submit" (f.submit)
I am using Rails 4, have the 3.0.3 version of Devise, bundled it, ran
"rails generate devise:install" to install it, ran "rails generate devise
user", ran db:migrate, raked the routes, and restarted the Rails server.
I even recreated the button action with the "correct" route and "get post"
- no dice.
Anybody have any idea? I'm at a loss here.

No comments:

Post a Comment