NameError in Devise::RegistrationController#create

If you get this kind of error while using Devise in your rails project, you have landed to right place.
Let us first know why we got this error.
This error indicates that you have not correctly fixed the permissions on devise.
IS THE USER MARKED CONFIRMABLE????
Now we directly jump to the soultion ,
You have to take care of two things -:
- In user.rb file add :confirmable or uncomment this portion.
- In the migrate folder there is a file under that just uncomment the confirmable part.
NOW in terminal,
$rake db:drop
$rake db:create
$rake db:migrate
AND YOU ARE NOW DONE.

Leave a comment