aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-11-02 20:27:51 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2012-11-03 14:57:54 -0200
commit4faa0418453055bc81456685d418d486252cc379 (patch)
treeacf0453393b953c6fd4c2145ef70ded6c9baeb05 /activesupport/lib
parentc2a7956eb7fbc099ea38d21601d215ab3def27fb (diff)
downloadrails-4faa0418453055bc81456685d418d486252cc379.tar.gz
rails-4faa0418453055bc81456685d418d486252cc379.tar.bz2
rails-4faa0418453055bc81456685d418d486252cc379.zip
Rename secret_token_key to secret_key_base
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/key_generator.rb2
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 2b5a6fa0ba..2c8fccec7d 100644
--- a/activesupport/lib/active_support/key_generator.rb
+++ b/activesupport/lib/active_support/key_generator.rb
@@ -55,7 +55,7 @@ module ActiveSupport
if secret.blank?
raise ArgumentError, "A secret is required to generate an " +
"integrity hash for cookie session data. Use " +
- "config.secret_token_key = \"some secret phrase of at " +
+ "config.secret_key_base = \"some secret phrase of at " +
"least #{SECRET_MIN_LENGTH} characters\"" +
"in config/initializers/secret_token.rb"
end