Commit 3f0a102e0ac17c7b8de3b5ed8ff40d7640840d51
1 parent
f2433604
Exists in
master
and in
21 other branches
Add Searchkick.enable_callbacks instructions on README [ci skip]
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
README.md
... | ... | @@ -610,9 +610,9 @@ end |
610 | 610 | or temporarily |
611 | 611 | |
612 | 612 | ```ruby |
613 | -Product.disable_search_callbacks # use Searchkick.disable_callbacks for all models | |
613 | +Product.disable_search_callbacks # or use Searchkick.disable_callbacks for all models | |
614 | 614 | ExpensiveProductsTask.execute |
615 | -Product.enable_search_callbacks | |
615 | +Product.enable_search_callbacks # or use Searchkick.enable_callbacks for all models | |
616 | 616 | Product.reindex |
617 | 617 | ``` |
618 | 618 | ... | ... |