diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-09-13 21:26:45 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2017-09-13 21:28:11 +0200 |
commit | ca18922ac23be2cde6963fae9b193c9111bec6f8 (patch) | |
tree | 395a1d4bd327a1b9638dc04df67827c8beffb9b8 /activesupport | |
parent | 9d7d75cab892f66db9a0173b78a9e1b901224066 (diff) | |
download | rails-ca18922ac23be2cde6963fae9b193c9111bec6f8.tar.gz rails-ca18922ac23be2cde6963fae9b193c9111bec6f8.tar.bz2 rails-ca18922ac23be2cde6963fae9b193c9111bec6f8.zip |
[ci skip] Prefer credentials to secrets in docs.
Removes most mentions of secrets.secret_key_base and explains
credentials instead.
Also removes some very stale upgrade notices about Rails 3/4.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/key_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/key_generator.rb b/activesupport/lib/active_support/key_generator.rb index 31de37b400..78f7d7ca8d 100644 --- a/activesupport/lib/active_support/key_generator.rb +++ b/activesupport/lib/active_support/key_generator.rb @@ -59,7 +59,7 @@ module ActiveSupport if secret.blank? raise ArgumentError, "A secret is required to generate an integrity hash " \ "for cookie session data. Set a secret_key_base of at least " \ - "#{SECRET_MIN_LENGTH} characters in config/secrets.yml." + "#{SECRET_MIN_LENGTH} characters in via `bin/rails credentials:edit`." end if secret.length < SECRET_MIN_LENGTH |