diff options
author | Jay Pignata <john.pignata@gmail.com> | 2009-09-03 15:14:49 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-03 15:15:15 -0500 |
commit | bd97c3044a7b135f5b84f38c3dbdce2ccc793f70 (patch) | |
tree | 20cae4a8898f5c9d733e07fb2fac63b8ad0f5023 /actionpack/lib | |
parent | 487ee41d2fe9216cd7dd194d747b5d3252180ba9 (diff) | |
download | rails-bd97c3044a7b135f5b84f38c3dbdce2ccc793f70.tar.gz rails-bd97c3044a7b135f5b84f38c3dbdce2ccc793f70.tar.bz2 rails-bd97c3044a7b135f5b84f38c3dbdce2ccc793f70.zip |
CookieStore should not be derived from Hash - reverting [#2268 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/cookie_store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb index 0e477ba9ae..bd552b458a 100644 --- a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb @@ -37,7 +37,7 @@ module ActionDispatch # "rake secret" and set the key in config/environment.rb. # # Note that changing digest or secret invalidates all existing sessions! - class CookieStore < Hash + class CookieStore # Cookies can typically store 4096 bytes. MAX = 4096 SECRET_MIN_LENGTH = 30 # characters |