Class: CGI::Session

Inherits:
Object show all
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

Instance Method Summary collapse

Instance Attribute Details

#dataObject (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

#modelObject

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