From 61864909628f5ac2f20d3337e0274dab016ac7c5 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Sat, 29 Apr 2006 18:10:14 +0000 Subject: Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/wrappings.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activerecord/lib/active_record/wrappings.rb') diff --git a/activerecord/lib/active_record/wrappings.rb b/activerecord/lib/active_record/wrappings.rb index 01976417b7..e8b6018850 100644 --- a/activerecord/lib/active_record/wrappings.rb +++ b/activerecord/lib/active_record/wrappings.rb @@ -9,8 +9,7 @@ module ActiveRecord end end - def self.append_features(base) - super + def self.included(base) base.extend(ClassMethods) end -- cgit v1.2.3