lib/pg_search/multisearch.rb in pg_search-0.7.2 vs lib/pg_search/multisearch.rb in pg_search-0.7.3

- old
+ new

@@ -1,7 +1,8 @@ +require "pg_search/multisearch/rebuilder" + module PgSearch module Multisearch - autoload :Rebuilder, "pg_search/multisearch/rebuilder" class << self def rebuild(model, clean_up=true) model.transaction do PgSearch::Document.where(:searchable_type => model.name).delete_all if clean_up