diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-04 16:26:55 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-04 16:26:55 +0000 |
commit | 5cbc062c8ad82271de11ae245d2bdaeffc0c4da7 (patch) | |
tree | eeed940e10ebb0d93924e22ae4e4d6dd7e2100fc /activerecord | |
parent | ed080863d5783b09cdc7aa397d3622e9b2eefc82 (diff) | |
download | rails-5cbc062c8ad82271de11ae245d2bdaeffc0c4da7.tar.gz rails-5cbc062c8ad82271de11ae245d2bdaeffc0c4da7.tar.bz2 rails-5cbc062c8ad82271de11ae245d2bdaeffc0c4da7.zip |
Just go with Subclasses instead of OnlySubclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/observer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/observer.rb b/activerecord/lib/active_record/observer.rb index ae0d7560e2..51829c6651 100644 --- a/activerecord/lib/active_record/observer.rb +++ b/activerecord/lib/active_record/observer.rb @@ -83,7 +83,7 @@ module ActiveRecord # Observer subclasses should be reloaded by the dispatcher in Rails # when Dependencies.mechanism = :load. - include Reloadable::OnlySubclasses + include Reloadable::Subclasses # Attaches the observer to the supplied model classes. def self.observe(*models) |