Actions
Refactor #14022
closedsecret_key_base should be configured
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Description
Rails 4.1 adds a secrets.yml file that should be configured with a secret_key_base per environment. This replaces the secret token initialiser. Deprecation warnings are currently being issued by Rails:
DEPRECATION WARNING: You didn't set `secret_key_base`. Read the upgrade documentation to learn more about this new config option. (called from validate_secret_key_config!
http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#config-secrets-yml has more info.
This will need some updates to packaging too, since we have scripts to generate the tokens and link the files into the right place post-installation.
Actions