instance method
cache_key
Ruby on Rails 4.1.16
Since v3.2.22.5 PrivateSignature
cache_key(sid)
Turn the session id into a cache key.
Parameters
-
sidreq
Source
# File actionpack/lib/action_dispatch/middleware/session/cache_store.rb, line 44
def cache_key(sid)
"_session_id:#{sid}"
end
Defined in actionpack/lib/action_dispatch/middleware/session/cache_store.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Session::CacheStore