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.
Updated by Dominic Cleal almost 9 years ago
- Related to Feature #7230: Upgrade Ruby on Rails to 4.1 added
Updated by Brandon Weeks almost 9 years ago
- Blocks Refactor #7570: set secret_key_base for rails 6.0 upgrade added
Updated by Dominic Cleal almost 9 years ago
- Blocks deleted (Refactor #7570: set secret_key_base for rails 6.0 upgrade)
Updated by Dominic Cleal almost 9 years ago
- Is duplicate of Refactor #7570: set secret_key_base for rails 6.0 upgrade added
Updated by Dominic Cleal almost 9 years ago
- Status changed from New to Duplicate
Actions