diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2013-04-02 17:02:02 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2013-04-02 17:02:02 -0700 |
commit | ac6fc606213f591f8e2c249b144843354c69af3c (patch) | |
tree | fe5249768ce475e0f19ae7213fa51b09d76f1989 /actionpack/lib/action_dispatch | |
parent | e130e96f8be3f56d5e8878b6a05259f70d9292b7 (diff) | |
parent | 7c7a42734406c4f1d402d32ff0b1b916545d0da0 (diff) | |
download | rails-ac6fc606213f591f8e2c249b144843354c69af3c.tar.gz rails-ac6fc606213f591f8e2c249b144843354c69af3c.tar.bz2 rails-ac6fc606213f591f8e2c249b144843354c69af3c.zip |
Merge pull request #10061 from trevorturk/dummy-key-generator-rename
Rename DummyKeyGenerator -> LegacyKeyGenerator
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/cookies.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb index 3997c52f59..5b914f293d 100644 --- a/actionpack/lib/action_dispatch/middleware/cookies.rb +++ b/actionpack/lib/action_dispatch/middleware/cookies.rb @@ -426,7 +426,7 @@ module ActionDispatch include ChainedCookieJars def initialize(parent_jar, key_generator, options = {}) - if ActiveSupport::DummyKeyGenerator === key_generator + if ActiveSupport::LegacyKeyGenerator === key_generator raise "You didn't set config.secret_key_base, which is required for this cookie jar. " + "Read the upgrade documentation to learn more about this new config option." end |