Added config.secret_key = '-- secret key —' in devise.rb under config/initializers