Class: TrackerSweeper
- Inherits:
-
ActionController::Caching::Sweeper
- Object
- ActionController::Caching::Sweeper
- TrackerSweeper
- Defined in:
- app/models/tracker_sweeper.rb
Instance Method Summary collapse
Instance Method Details
#after_create(tracker) ⇒ Object
3 4 5 |
# File 'app/models/tracker_sweeper.rb', line 3 def after_create(tracker) expire_cache_for(tracker) end |
#after_destroy(tracker) ⇒ Object
11 12 13 |
# File 'app/models/tracker_sweeper.rb', line 11 def after_destroy(tracker) expire_cache_for(tracker) end |
#after_update(tracker) ⇒ Object
7 8 9 |
# File 'app/models/tracker_sweeper.rb', line 7 def after_update(tracker) expire_cache_for(tracker) end |