Project

General

Profile

Actions

Refactor #14022

closed

secret_key_base should be configured

Added by Dominic Cleal about 8 years ago. Updated about 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #7230: Upgrade Ruby on Rails to 4.1ClosedDaniel Lobato Garcia08/22/2014Actions
Is duplicate of Foreman - Refactor #7570: set secret_key_base for rails 6.0 upgradeClosedTomer BriskerActions
Actions #1

Updated by Dominic Cleal about 8 years ago

Actions #2

Updated by Brandon Weeks about 8 years ago

  • Blocks Refactor #7570: set secret_key_base for rails 6.0 upgrade added
Actions #3

Updated by Dominic Cleal about 8 years ago

  • Blocks deleted (Refactor #7570: set secret_key_base for rails 6.0 upgrade)
Actions #4

Updated by Dominic Cleal about 8 years ago

  • Is duplicate of Refactor #7570: set secret_key_base for rails 6.0 upgrade added
Actions #5

Updated by Dominic Cleal about 8 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF