diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-06-15 18:04:13 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-06-15 19:15:37 +0100 |
commit | ae3767c799708992f60442ab2e08b9108f01e5ed (patch) | |
tree | a24cbb8ca1735dd4b22b6ad3997ec761e249e9be /activerecord/lib/active_record/model.rb | |
parent | a205bf878084d74872fbad45fac030ad2cb74970 (diff) | |
download | rails-ae3767c799708992f60442ab2e08b9108f01e5ed.tar.gz rails-ae3767c799708992f60442ab2e08b9108f01e5ed.tar.bz2 rails-ae3767c799708992f60442ab2e08b9108f01e5ed.zip |
Fix observers with AR::Model
Diffstat (limited to 'activerecord/lib/active_record/model.rb')
-rw-r--r-- | activerecord/lib/active_record/model.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/model.rb b/activerecord/lib/active_record/model.rb index 831745856b..d51cb30ec1 100644 --- a/activerecord/lib/active_record/model.rb +++ b/activerecord/lib/active_record/model.rb @@ -39,6 +39,7 @@ module ActiveRecord module Model extend ActiveSupport::Concern extend ConnectionHandling + extend ActiveModel::Observing::ClassMethods # This allows us to detect an ActiveRecord::Model while it's in the process of being included. module Tag; end |