method
delete
v2.1.0 -
Show latest stable
- Class:
ActiveSupport::Cache::MemCacheStore
delete(key, options = nil)public
No documentation available.
# File activesupport/lib/active_support/cache/mem_cache_store.rb, line 44
def delete(key, options = nil)
super
response = @data.delete(key, expires_in(options))
response == Response::DELETED
rescue MemCache::MemCacheError => e
logger.error("MemCacheError (#{e}): #{e.message}")
false
end