aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorGanesh Kumar <ganesh.dc@gmail.com>2011-05-21 13:55:52 +0530
committerGanesh Kumar <ganesh.dc@gmail.com>2011-05-21 13:55:52 +0530
commit3d789ea4b9aed42680de3b3bb359a19cd4a48f57 (patch)
treefb2c65550fa857e5becafb1cb2dbebca651959a6 /activemodel/lib
parentb134e0f44555a7cb45324e4eee76efeea46d7e6d (diff)
downloadrails-3d789ea4b9aed42680de3b3bb359a19cd4a48f57.tar.gz
rails-3d789ea4b9aed42680de3b3bb359a19cd4a48f57.tar.bz2
rails-3d789ea4b9aed42680de3b3bb359a19cd4a48f57.zip
ActionMailer deliver method Documentation corrected Ticket #761
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/observing.rb2
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
#