method

destroy

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

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(env)
private

No documentation available.

# File actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb, line 46
        def destroy(env)
          if sid = current_session_id(env)
            @pool.delete(sid)
          end
        rescue MemCache::MemCacheError, Errno::ECONNREFUSED
          false
        end