Module: Elasticsearch::Model::TransactionalCallbacks::Relation
- Defined in:
- lib/elasticsearch/model/transactional_callbacks/relation.rb
Overview
Override .update_all and .delete_all of ActiveRecord::Relation to batch update/delete the index if the resources in question have a coresponding elasticsearch index
This module are automatically included into ActiveRecord::Relation inside of railtie