aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2009-02-23 12:10:24 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2009-02-23 12:11:02 +0100
commitd13623ca46c82120c398f4634e206422fc3ad7ea (patch)
treec39ad7d17b073761f52eda2b9c0f4ff2e019beb8 /activerecord/lib/active_record.rb
parent441e4e22352c8805a882f6a661ab3982dd7eda12 (diff)
downloadrails-d13623ca46c82120c398f4634e206422fc3ad7ea.tar.gz
rails-d13623ca46c82120c398f4634e206422fc3ad7ea.tar.bz2
rails-d13623ca46c82120c398f4634e206422fc3ad7ea.zip
Added ActiveRecord::Base.each and ActiveRecord::Base.find_in_batches for batch processing [DHH/Jamis Buck]
Diffstat (limited to 'activerecord/lib/active_record.rb')
-rw-r--r--activerecord/lib/active_record.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb
index fa804f6a73..2f8c5c712f 100644
--- a/activerecord/lib/active_record.rb
+++ b/activerecord/lib/active_record.rb
@@ -48,6 +48,7 @@ module ActiveRecord
autoload :AttributeMethods, 'active_record/attribute_methods'
autoload :AutosaveAssociation, 'active_record/autosave_association'
autoload :Base, 'active_record/base'
+ autoload :Batches, 'active_record/batches'
autoload :Calculations, 'active_record/calculations'
autoload :Callbacks, 'active_record/callbacks'
autoload :Dirty, 'active_record/dirty'