Class: DagLink
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- DagLink
- Defined in:
- app/models/dag_link.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from ActiveRecord::Base
Instance Method Details
#delete_cache ⇒ Object
24 25 26 27 28 |
# File 'app/models/dag_link.rb', line 24 def delete_cache super ancestor.try(:delete_cache) descendant.try(:delete_cache) end |
#fill_cache ⇒ Object
20 21 22 |
# File 'app/models/dag_link.rb', line 20 def fill_cache valid_from end |