Module: Stale::Model
- Defined in:
- lib/stale/model.rb
Constant Summary collapse
- IDENTIFIER =
:stale_key
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 |
# File 'lib/stale/model.rb', line 5 def self.included(base) base.class_eval do after_commit :expire_stale_dependencies if respond_to?(:after_commit) end end |