Class: ActiveSupport::Cache::ActiveRecordStore
- Inherits:
-
Store
- Object
- Store
- ActiveSupport::Cache::ActiveRecordStore
- Defined in:
- lib/active_support/cache/active_record_store.rb
Instance Method Summary collapse
Instance Method Details
#cleanup(options = nil) ⇒ Object
7 8 9 |
# File 'lib/active_support/cache/active_record_store.rb', line 7 def cleanup( = nil) CacheEntry.expired.delete_all end |
#clear(options = nil) ⇒ Object
11 12 13 |
# File 'lib/active_support/cache/active_record_store.rb', line 11 def clear( = nil) CacheEntry.delete_all end |