Skip to content

Instantly share code, notes, and snippets.

@olivierlacan
Created February 24, 2013 22:57
Show Gist options
  • Save olivierlacan/5026121 to your computer and use it in GitHub Desktop.
Save olivierlacan/5026121 to your computer and use it in GitHub Desktop.
This is the deprecation warning thrown by Rails 4 to invite an update of the session_store.rb file

DEPRECATION WARNING: You didn't set config.secret_key_base in config/initializers/secret_token.rb file. This should be used instead of the old deprecated config.secret_token in order to use the new EncryptedCookieStore. To convert safely to the encrypted store (without losing existing cookies and sessions), see http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#action-pack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment