diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-07-20 23:57:01 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-07-20 23:57:01 -0500 |
commit | 7c84bbf1607bf4059de04cc4c8ec84df2334574b (patch) | |
tree | 438e601981282ccdd8ed25424411eba6476d0d26 /activerecord/lib | |
parent | 2685d93b0728b647b6f49f3e1802c779d5fb9867 (diff) | |
download | rails-7c84bbf1607bf4059de04cc4c8ec84df2334574b.tar.gz rails-7c84bbf1607bf4059de04cc4c8ec84df2334574b.tar.bz2 rails-7c84bbf1607bf4059de04cc4c8ec84df2334574b.zip |
Add wrap_with_notifications helper to AMo observing
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/callbacks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb index 01e41c04df..3aa0b8f1b5 100644 --- a/activerecord/lib/active_record/callbacks.rb +++ b/activerecord/lib/active_record/callbacks.rb @@ -349,7 +349,7 @@ module ActiveRecord result = send(method) end - notify(method) + notify_observers(method) return result end |