123456789_123456789_123456789_123456789_123456789_

Module: ActionDispatch::Session::SessionObject

Do not use. This module is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: actionpack/lib/action_dispatch/middleware/session/abstract_store.rb

Instance Method Summary

Instance Method Details

#commit_session(req, res)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/middleware/session/abstract_store.rb', line 72

def commit_session(req, res)
  req.commit_csrf_token
  super(req, res)
end

#loaded_session?(session) ⇒ Boolean

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/middleware/session/abstract_store.rb', line 81

def loaded_session?(session)
  !session.is_a?(Request::Session) || session.loaded?
end

#prepare_session(req)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/middleware/session/abstract_store.rb', line 77

def prepare_session(req)
  Request::Session.create(self, req, @default_options)
end