diff options
author | Xavier Noria <fxn@hashref.com> | 2011-05-21 10:39:28 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-05-21 10:39:28 -0700 |
commit | eb0257944ef7c9c0f7658b934a2f767497982909 (patch) | |
tree | 61cddc7bbd996eb51a37624ae3e8b4cf07ffa933 /activemodel | |
parent | f62aba74ef5105a5749f7764dcddd4b1d344e812 (diff) | |
parent | 0a15928f0658c91b197ef15c16580b9abac39ced (diff) | |
download | rails-eb0257944ef7c9c0f7658b934a2f767497982909.tar.gz rails-eb0257944ef7c9c0f7658b934a2f767497982909.tar.bz2 rails-eb0257944ef7c9c0f7658b934a2f767497982909.zip |
Merge pull request #1180 from Karunakar/documentation_change
Documentation Error Fixed for ticket #839
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/lib/active_model/observing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/observing.rb b/activemodel/lib/active_model/observing.rb index b94ad4bb9b..d48f2e8a1f 100644 --- a/activemodel/lib/active_model/observing.rb +++ b/activemodel/lib/active_model/observing.rb @@ -125,7 +125,7 @@ module ActiveModel # # class CommentObserver < ActiveModel::Observer # def after_save(comment) - # Notifications.deliver_comment("admin@do.com", "New comment was posted", comment) + # Notifications.comment("admin@do.com", "New comment was posted", comment).deliver # end # end # |