Skip to content

Commit

Permalink
cleanup previous search scans
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Pierronnet committed Aug 5, 2013
1 parent 6de167f commit 682fa5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pg_search/tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
original_schema_search_path = connection.schema_search_path
begin
connection.schema_search_path = args.schema if args.schema
PgSearch::Multisearch.rebuild(model_class)
PgSearch::Multisearch.rebuild(model_class, true)
ensure
connection.schema_search_path = original_schema_search_path
end
Expand Down

0 comments on commit 682fa5c

Please sign in to comment.