instance method
destroy
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
destroy()
No documentation comment.
Source
# File actionpack/lib/action_controller/session/abstract_store.rb, line 114
def destroy
clear
@by.send(:destroy, @env) if @by
@env[ENV_SESSION_OPTIONS_KEY][:id] = nil if @env && @env[ENV_SESSION_OPTIONS_KEY]
@loaded = false
end
Defined in actionpack/lib/action_controller/session/abstract_store.rb line 114
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Session::AbstractStore::SessionHash