Last Updated: February 25, 2016
·
2.437K
· johnnyrodgers

Devise.use_salt_as_remember_token deprecation warning

After upgrading my gems, I got this deprecation warning the next time I started my Rails app:

Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.

Remove or comment this line in config/initializers/devise.rb to fix:

config.use_salt_as_remember_token = true