instance method
delete
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
delete()
Delete and close the session store.
Source
# File actionpack/lib/action_controller/session/active_record_store.rb, line 327
def delete
if @session
ActiveRecord::Base.silence { @session.destroy }
@session = nil
end
end
Defined in actionpack/lib/action_controller/session/active_record_store.rb line 327
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in CGI::Session::ActiveRecordStore