aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2009-02-23 12:20:37 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2009-02-23 12:20:37 +0100
commit45787bdd0e9ec20b111e570a20b5f66a949b400c (patch)
tree9d03a844c51665ec1289da0549ce2948c183ff85 /activerecord/lib
parentd13623ca46c82120c398f4634e206422fc3ad7ea (diff)
downloadrails-45787bdd0e9ec20b111e570a20b5f66a949b400c.tar.gz
rails-45787bdd0e9ec20b111e570a20b5f66a949b400c.tar.bz2
rails-45787bdd0e9ec20b111e570a20b5f66a949b400c.zip
Fix docs
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/batches.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/batches.rb b/activerecord/lib/active_record/batches.rb
index 7747655984..9e9c8fbbf4 100644
--- a/activerecord/lib/active_record/batches.rb
+++ b/activerecord/lib/active_record/batches.rb
@@ -7,7 +7,7 @@ module ActiveRecord
# When processing large numbers of records, it's often a good idea to do so in batches to prevent memory ballooning.
module ClassMethods
# Yields each record that was found by the find +options+. The find is performed by find_in_batches
- # with a batch size of 1000 (or as specified by the +limit+ option).
+ # with a batch size of 1000 (or as specified by the +batch_size+ option).
#
# Example:
#
@@ -27,7 +27,7 @@ module ActiveRecord
end
# Yields each batch of records that was found by the find +options+ as an array. The size of each batch is
- # set by the +limit+ option; the default is 1000.
+ # set by the +batch_size+ option; the default is 1000.
#
# You can control the starting point for the batch processing by supplying the +start+ option. This is especially
# useful if you want multiple workers dealing with the same processing queue. You can make worker 1 handle all the