aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/batches.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/batches.rb')
-rw-r--r--activerecord/lib/active_record/batches.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/batches.rb b/activerecord/lib/active_record/batches.rb
index 5a6cecd4ad..e41d38fb8f 100644
--- a/activerecord/lib/active_record/batches.rb
+++ b/activerecord/lib/active_record/batches.rb
@@ -1,8 +1,6 @@
module ActiveRecord
module Batches # :nodoc:
- def self.included(base)
- base.extend(ClassMethods)
- end
+ extend ActiveSupport::Concern
# When processing large numbers of records, it's often a good idea to do
# so in batches to prevent memory ballooning.