diff options
author | Jamis Buck <jamis@37signals.com> | 2005-11-10 15:59:00 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2005-11-10 15:59:00 +0000 |
commit | df5c74cc7c9c061d6c08b0c398990d295ba35717 (patch) | |
tree | 5dd49885dec562116e5c55ec8a8b6d2e77c551ea /activerecord | |
parent | 339fff7950bbec9936805627b5bad9ec51eb2c14 (diff) | |
download | rails-df5c74cc7c9c061d6c08b0c398990d295ba35717.tar.gz rails-df5c74cc7c9c061d6c08b0c398990d295ba35717.tar.bz2 rails-df5c74cc7c9c061d6c08b0c398990d295ba35717.zip |
Make sure the acts_as_list_class is resolved relative to the global namespace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/acts/list.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/acts/list.rb b/activerecord/lib/active_record/acts/list.rb index 560c74dfff..ce1c59d422 100644 --- a/activerecord/lib/active_record/acts/list.rb +++ b/activerecord/lib/active_record/acts/list.rb @@ -55,7 +55,7 @@ module ActiveRecord include ActiveRecord::Acts::List::InstanceMethods def acts_as_list_class - #{self.name} + ::#{self.name} end def position_column |