instance method
delete
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
delete(name, options = nil)
No documentation comment.
Parameters
-
namereq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache/file_store.rb, line 25
def delete(name, options = nil)
super
File.delete(real_file_path(name))
rescue SystemCallError => e
# If there's no cache, then there's nothing to complain about
end
Defined in activesupport/lib/active_support/cache/file_store.rb line 25
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::FileStore