Class: CGI::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/action_controller/session/drb_store.rb,
lib/action_controller/session/active_record_store.rb

Defined Under Namespace

Classes: ActiveRecordStore, DRbStore

Instance Method Summary collapse

Instance Method Details

#modelObject

Return this session's underlying Session instance. Useful for the DB-backed session stores.


9
10
11
# File 'lib/action_controller/session/active_record_store.rb', line 9

def model
  @dbman.model if @dbman
end