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
Written by Johnny Rodgers
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#