instance method
model
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
model()
Return this session’s underlying Session instance. Useful for the DB-backed session stores.
Source
# File actionpack/lib/action_controller/session/active_record_store.rb, line 10
def model
@dbman.model if @dbman
end
Defined in actionpack/lib/action_controller/session/active_record_store.rb line 10
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in CGI::Session