instance method destroy

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

destroy()

No documentation comment.

Source
# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 103
        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_dispatch/middleware/session/abstract_store.rb line 103 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Session::AbstractStore::SessionHash

Type at least 2 characters to search.

↑↓ navigate · open · esc close