From c788bcb416f4487f99a9e5dacf9a48623412b034 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 2 Apr 2005 09:14:19 +0000 Subject: Automatically extend the class which gets a module included with the ClassMethods module if it exists #970 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/associations.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'activerecord/lib/active_record/associations.rb') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 5bdc6247ff..7ce06f9c37 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -8,11 +8,6 @@ require 'active_record/deprecated_associations' module ActiveRecord module Associations # :nodoc: - def self.append_features(base) - super - base.extend(ClassMethods) - end - # Clears out the association cache def clear_association_cache #:nodoc: self.class.reflect_on_all_associations.to_a.each do |assoc| -- cgit v1.2.3