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
93 94 95 96 97 98 99 |
# File 'lib/phat_pgsearch/active_record.rb', line 93 def rebuild_pgindex! last_state = self.class. self.class. = false self.build_pgsearch_index self.save! self.class. = last_state end |