From ad513310a5046a31179acd6c237a12d619bd0b93 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 24 Feb 2022 06:45:11 -0800 Subject: [PATCH] Updated readme [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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