aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorTrevor Turk <trevorturk@gmail.com>2013-04-02 18:41:57 -0500
committerTrevor Turk <trevorturk@gmail.com>2013-04-02 18:41:57 -0500
commit7c7a42734406c4f1d402d32ff0b1b916545d0da0 (patch)
treeba62c423748bb0a606a785e6d558999e55718af0 /actionpack/lib
parentc959798571b4060b19712e022f4236d75b2b7cfd (diff)
downloadrails-7c7a42734406c4f1d402d32ff0b1b916545d0da0.tar.gz
rails-7c7a42734406c4f1d402d32ff0b1b916545d0da0.tar.bz2
rails-7c7a42734406c4f1d402d32ff0b1b916545d0da0.zip
Rename DummyKeyGenerator -> LegacyKeyGenerator
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/middleware/cookies.rb2
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 08c75632ba..96c70959bb 100644
--- a/actionpack/lib/action_dispatch/middleware/cookies.rb
+++ b/actionpack/lib/action_dispatch/middleware/cookies.rb
@@ -428,7 +428,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