instance method
delete
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
delete(key, options = nil)
No documentation comment.
Parameters
-
keyreq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 54
def delete(key, options = nil)
local_cache.mute { local_cache.write(key, NULL) } if local_cache
super
end
Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 54
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Strategy::LocalCache