Commit ad513310a5046a31179acd6c237a12d619bd0b93

Authored by Andrew Kane
1 parent 03e0107d

Updated readme [skip ci]

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
@@ -596,7 +596,7 @@ You can also do bulk updates. @@ -596,7 +596,7 @@ You can also do bulk updates.
596 596
597 ```ruby 597 ```ruby
598 Searchkick.callbacks(:bulk) do 598 Searchkick.callbacks(:bulk) do
599 - User.find_each(&:update_fields) 599 + Product.find_each(&:update_fields)
600 end 600 end
601 ``` 601 ```
602 602
@@ -604,7 +604,7 @@ Or temporarily skip updates. @@ -604,7 +604,7 @@ Or temporarily skip updates.
604 604
605 ```ruby 605 ```ruby
606 Searchkick.callbacks(false) do 606 Searchkick.callbacks(false) do
607 - User.find_each(&:update_fields) 607 + Product.find_each(&:update_fields)
608 end 608 end
609 ``` 609 ```
610 610