Class: CGI::Session
- Defined in:
- lib/action_controller/cgi_ext/session_performance_fix.rb,
lib/action_controller/session/drb_store.rb,
lib/action_controller/session/active_record_store.rb
Overview
:nodoc:
Defined Under Namespace
Classes: ActiveRecordStore, DRbStore, PStore
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#model ⇒ Object
Return this session’s underlying Session instance.
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
8 9 10 |
# File 'lib/action_controller/session/active_record_store.rb', line 8 def data @data end |
Instance Method Details
#model ⇒ Object
Return this session’s underlying Session instance. Useful for the DB-backed session stores.
11 12 13 |
# File 'lib/action_controller/session/active_record_store.rb', line 11 def model @dbman.model if @dbman end |