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