instance method
delete_entry
Ruby on Rails 6.1.7.10
Since v5.2.8.1 PrivateSignature
delete_entry(key, **options)
Delete an entry from the cache.
Parameters
-
keyreq -
optionskeyrest
Source
# File activesupport/lib/active_support/cache/mem_cache_store.rb, line 180
def delete_entry(key, **options)
rescue_error_with(false) { @data.with { |c| c.delete(key) } }
end
Defined in activesupport/lib/active_support/cache/mem_cache_store.rb line 180
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::MemCacheStore