method

destroy_session

rails latest stable - Class: ActionDispatch::Session::AbstractStore

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

destroy_session(env, sid, options)
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 75
      def destroy_session(env, sid, options)
        ActiveSupport::Deprecation.warn "Implementing #destroy in session stores is deprecated. " <<
          "Please implement destroy_session(env, session_id, options) instead."
        destroy(env)
      end