Class: CGI::Session
- Defined in:
- lib/action_controller/session/drb_store.rb,
lib/action_controller/session/active_record_store.rb
Defined Under Namespace
Classes: ActiveRecordStore, DRbStore
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 |