diff --git a/README.md b/README.md index 3376c29..57320b7 100644 --- a/README.md +++ b/README.md @@ -596,7 +596,7 @@ You can also do bulk updates. ```ruby Searchkick.callbacks(:bulk) do - User.find_each(&:update_fields) + Product.find_each(&:update_fields) end ``` @@ -604,7 +604,7 @@ Or temporarily skip updates. ```ruby Searchkick.callbacks(false) do - User.find_each(&:update_fields) + Product.find_each(&:update_fields) end ``` -- libgit2 0.21.0