diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-04 18:58:49 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-04 18:58:49 -0700 |
commit | bcfa2a0d5e70b4217bd93550a69cb137acff1b07 (patch) | |
tree | ae40819b59c518a2ecf1db4dd52e02f7904f50b6 /actionpack/lib/action_dispatch/middleware/session | |
parent | 529136d670c46bd66b56c519d4f51ed8f86c75b1 (diff) | |
download | rails-bcfa2a0d5e70b4217bd93550a69cb137acff1b07.tar.gz rails-bcfa2a0d5e70b4217bd93550a69cb137acff1b07.tar.bz2 rails-bcfa2a0d5e70b4217bd93550a69cb137acff1b07.zip |
stop using deprecated Abstract::ID class
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/session')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/abstract_store.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/cookie_store.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb b/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb index b924df789f..9e50fea3fc 100644 --- a/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb @@ -79,7 +79,7 @@ module ActionDispatch end end - class AbstractStore < Rack::Session::Abstract::ID + class AbstractStore < Rack::Session::Abstract::Persisted include Compatibility include StaleSessionCheck include SessionObject diff --git a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb index cd32adabdf..01cf034110 100644 --- a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb @@ -62,7 +62,7 @@ module ActionDispatch # would set the session cookie to expire automatically 14 days after creation. # Other useful options include <tt>:key</tt>, <tt>:secure</tt> and # <tt>:httponly</tt>. - class CookieStore < Rack::Session::Abstract::ID + class CookieStore < Rack::Session::Abstract::Persisted include Compatibility include StaleSessionCheck include SessionObject |