instance method
destroy
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20 PrivateSignature
destroy(env)
No documentation comment.
Parameters
-
envreq
Source
# 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
Defined in actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb line 46
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Session::MemCacheStore