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 -
optionsreq
Source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 416
def delete_entry(key, options)
failsafe :delete_entry, returning: false do
redis.with { |c| c.del key }
end
end
Defined in activesupport/lib/active_support/cache/redis_cache_store.rb line 416
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::RedisCacheStore