diff --git a/README.md b/README.md index cb33b34..f8f20c0 100644 --- a/README.md +++ b/README.md @@ -520,12 +520,10 @@ class Product < ApplicationRecord end ``` -By default, all records are indexed. To control which records are indexed, use the `should_index?` method together with the `search_import` scope. +By default, all records are indexed. To control which records are indexed, use the `should_index?` method. ```ruby class Product < ApplicationRecord - scope :search_import, -> { where(active: true) } - def should_index? active # only index active records end -- libgit2 0.21.0