diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-02 09:14:19 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-02 09:14:19 +0000 |
commit | c788bcb416f4487f99a9e5dacf9a48623412b034 (patch) | |
tree | d03243b9e36f714c73fdf9110d59922e68be58e1 /activerecord/lib/active_record/acts/tree.rb | |
parent | 3532455404ec8449eee1054e38d1e0db40c63e15 (diff) | |
download | rails-c788bcb416f4487f99a9e5dacf9a48623412b034.tar.gz rails-c788bcb416f4487f99a9e5dacf9a48623412b034.tar.bz2 rails-c788bcb416f4487f99a9e5dacf9a48623412b034.zip |
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
Diffstat (limited to 'activerecord/lib/active_record/acts/tree.rb')
-rw-r--r-- | activerecord/lib/active_record/acts/tree.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/acts/tree.rb b/activerecord/lib/active_record/acts/tree.rb index 61163941d3..5fd1a59334 100644 --- a/activerecord/lib/active_record/acts/tree.rb +++ b/activerecord/lib/active_record/acts/tree.rb @@ -1,11 +1,6 @@ module ActiveRecord module Acts #:nodoc: module Tree #:nodoc: - def self.append_features(base) - super - base.extend(ClassMethods) - end - # Specify this act if you want to model a tree structure by providing a parent association and an children # association. This act assumes that requires that you have a foreign key column, which by default is called parent_id. # |