Permalink
Browse files

ActionMailer deliver method Documentation corrected Ticket #761

  • Loading branch information...
1 parent b134e0f commit 3d789ea4b9aed42680de3b3bb359a19cd4a48f57 @ganeshkumar ganeshkumar committed May 21, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 activemodel/lib/active_model/observing.rb
  2. +1 −1 activerecord/lib/active_record/observer.rb
@@ -125,7 +125,7 @@ def notify_observers(method)
#
# 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
#
@@ -11,7 +11,7 @@ module ActiveRecord
#
# class CommentObserver < ActiveRecord::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
#

0 comments on commit 3d789ea

Please sign in to comment.