devise: undefined method `registration_path'
Using devise 2.0.4 with Rails 3.2.2 and hitting /users/sign_up (development mode) , I get
undefined method `registration_path’ for #<#<Class:0x007f936ab09c08>:0x007f936b049088>
Extracted source (around line #3):
1: <h2>Sign up</h2> 2: 3: <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> 4: <%= devise_error_messages! %> 5: 6: <div><%= f.label :email %><br />
more info at - https://gist.github.com/2295672
About this issue
- Original URL
- State: closed
- Created 12 years ago
- Comments: 15
For some reason, restarting the rails server fixed this issue.
Thank You! I was having the same issue as @cpatil
server restart worked for me 👍
Yes server re start worked me, but anyone would like to help me out with … what caused the issue in the first place?
@cpatil is correct. Restarting the rails server will fix the problem. Happened to me as well.