Skip to content

Commit

Permalink
Mention find_each in find_in_batches doc [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Jan 29, 2014
1 parent 9653a65 commit a2cf795
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activerecord/lib/active_record/relation/batches.rb
Expand Up @@ -64,6 +64,8 @@ def find_each(options = {})
# group.each { |person| person.party_all_night! }
# end
#
# To be yielded each record one by one, use #find_each instead.
#
# ==== Options
# * <tt>:batch_size</tt> - Specifies the size of the batch. Default to 1000.
# * <tt>:start</tt> - Specifies the starting point for the batch processing.
Expand Down

0 comments on commit a2cf795

Please sign in to comment.