diff --git a/lib/kasket/write_mixin.rb b/lib/kasket/write_mixin.rb index 1886cb1..9000980 100644 --- a/lib/kasket/write_mixin.rb +++ b/lib/kasket/write_mixin.rb @@ -78,6 +78,7 @@ def self.included(model_class) end model_class.after_save :clear_kasket_indices + model_class.after_touch :clear_kasket_indices if model_class.respond_to?(:after_touch) model_class.after_destroy :clear_kasket_indices model_class.alias_method_chain :reload, :kasket_clearing