aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-07-20 23:57:01 -0500
committerJoshua Peek <josh@joshpeek.com>2009-07-20 23:57:01 -0500
commit7c84bbf1607bf4059de04cc4c8ec84df2334574b (patch)
tree438e601981282ccdd8ed25424411eba6476d0d26 /activerecord
parent2685d93b0728b647b6f49f3e1802c779d5fb9867 (diff)
downloadrails-7c84bbf1607bf4059de04cc4c8ec84df2334574b.tar.gz
rails-7c84bbf1607bf4059de04cc4c8ec84df2334574b.tar.bz2
rails-7c84bbf1607bf4059de04cc4c8ec84df2334574b.zip
Add wrap_with_notifications helper to AMo observing
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/callbacks.rb2
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