instance method destroy

Ruby on Rails 3.0.20

Since v2.3.18 Last seen in v3.0.20 Private — implementation detail, not part of the public API

Available in: v2.3.18 v3.0.20

Signature

destroy(env)

No documentation comment.

Parameters

env req
Source
# File activerecord/lib/active_record/session_store.rb, line 319
      def destroy(env)
        if sid = current_session_id(env)
          Base.silence do
            get_session_model(env, sid).destroy
          end
        end
      end

Defined in activerecord/lib/active_record/session_store.rb line 319 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::SessionStore

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close