aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/acts/list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/acts/list.rb')
-rw-r--r--activerecord/lib/active_record/acts/list.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/acts/list.rb b/activerecord/lib/active_record/acts/list.rb
index c6a33cf9a0..abd295d4e9 100644
--- a/activerecord/lib/active_record/acts/list.rb
+++ b/activerecord/lib/active_record/acts/list.rb
@@ -1,6 +1,11 @@
module ActiveRecord
module Acts #:nodoc:
module List #:nodoc:
+ def self.append_features(base)
+ super
+ base.extend(ClassMethods)
+ end
+
# This act provides the capabilities for sorting and reordering a number of objects in list.
# The class that has this specified needs to have a "position" column defined as an integer on
# the mapped database table.