method

destroy

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

Method deprecated or moved

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

destroy()
public

No documentation available.

# 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