Module: TkhSearch::TkhSearchable::LocalInstanceMethods
- Defined in:
- lib/tkh_search/tkh_searchable.rb
Instance Method Summary collapse
Instance Method Details
#index_record ⇒ Object
67 68 69 70 71 |
# File 'lib/tkh_search/tkh_searchable.rb', line 67 def index_record # get record's model name, constantize it, and call the indexing class method (Kernel.const_get self.class.name).index_individual_record(self) remove_obsolete_instances end |