Module: PhatPgsearch::ActiveRecord::InstanceMethods
- Defined in:
- lib/phat_pgsearch/active_record.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#rebuild_pgindex! ⇒ Object
rebuild pgindex für object without update timestamps.
Instance Method Details
#rebuild_pgindex! ⇒ Object
rebuild pgindex für object without update timestamps
98 99 100 101 102 103 104 |
# File 'lib/phat_pgsearch/active_record.rb', line 98 def rebuild_pgindex! last_state = self.class. self.class. = false self.build_pgsearch_index self.save! self.class. = last_state end |