method
load_for_write!
v7.0.0 -
Show latest stable
- Class:
ActionDispatch::Request::Session
load_for_write!()private
No documentation available.
# File actionpack/lib/action_dispatch/request/session.rb, line 249
def load_for_write!
if enabled?
load! unless loaded?
else
raise DisabledSessionError, "Your application has sessions disabled. To write to the session you must first configure a session store"
end
end