method
get_session_with_fallback
v7.1.3.2 -
Show latest stable
- Class:
ActionDispatch::Session::CacheStore
get_session_with_fallback(sid)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/session/cache_store.rb, line 56
def get_session_with_fallback(sid)
@cache.read(cache_key(sid.private_id)) || @cache.read(cache_key(sid.public_id))
end