Module: Chewy::Type::Observe::MongoidMethods
- Defined in:
- lib/chewy/type/observe.rb
Instance Method Summary collapse
Instance Method Details
#update_index(type_name, *args, &block) ⇒ Object
24 25 26 27 28 29 |
# File 'lib/chewy/type/observe.rb', line 24 def update_index(type_name, *args, &block) update_proc = Observe.update_proc(type_name, *args, &block) after_save &update_proc after_destroy &update_proc end |