I have added the Devise gem to the ruby on rails app version 1.8.7. I using devise to authenticate and also I have created a model called user which will connect another database, I have mentioned/specified the database configurations in the create_connection,whenever I run the app in the local host, I am getting this error message
“undefined method `password_salt=’ for #”
As soon as I register a new member I am getting this error.
I am a newbie to rails,
Kindly help me out
i had this error once before, try the following
1.Re-run your migrations again
Just in case you have forgotten, uncomment the following line
then migrate your database
Also make sure that encryptable is added to your database model
2.Update your devise gem
bundle update or specify in your gem file to use latest devise gem 2.x