NoMethodError in Devise::RegistrationsController#create-Collection of common programming errors

i had this error once before, try the following

1.Re-run your migrations again

rake db:migrate VERSION=0  #to rollback migrations to the first one if needed

Just in case you have forgotten, uncomment the following line

t.string :password_salt

then migrate your database

rake db:migrate

Also make sure that encryptable is added to your database model

devise :encryptable .....

2.Update your devise gem

bundle update or specify in your gem file to use latest devise gem 2.x

Originally posted 2013-11-09 23:14:01.