diff --git a/activerecord/lib/active_record/relation/batches.rb b/activerecord/lib/active_record/relation/batches.rb index 20d24b409b3be2393a5471910b22a84519bf2696..4f0502ae75436865e87feffcf9127ddfd9a36627 100644 --- a/activerecord/lib/active_record/relation/batches.rb +++ b/activerecord/lib/active_record/relation/batches.rb @@ -27,7 +27,7 @@ module Batches # # ==== Options # * :batch_size - Specifies the size of the batch. Default to 1000. - # * :start - Specifies the starting point for the batch processing. + # * :start - Specifies the primary key value to start from. # This is especially useful if you want multiple workers dealing with # the same processing queue. You can make worker 1 handle all the records # between id 0 and 10,000 and worker 2 handle from 10,000 and beyond @@ -77,7 +77,7 @@ def find_each(options = {}) # # ==== Options # * :batch_size - Specifies the size of the batch. Default to 1000. - # * :start - Specifies the starting point for the batch processing. + # * :start - Specifies the primary key value to start from. # This is especially useful if you want multiple workers dealing with # the same processing queue. You can make worker 1 handle all the records # between id 0 and 10,000 and worker 2 handle from 10,000 and beyond