diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-15 21:19:15 -0700 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-15 21:19:15 -0700 |
commit | 23ad13ee17abb3874a13aa9ad2ffc022cf885857 (patch) | |
tree | f5dc0f874b5be7fc2e1b3012afe326b9e211381f | |
parent | dde82a44d702f8416905476bbea5842157d6a508 (diff) | |
download | rails-23ad13ee17abb3874a13aa9ad2ffc022cf885857.tar.gz rails-23ad13ee17abb3874a13aa9ad2ffc022cf885857.tar.bz2 rails-23ad13ee17abb3874a13aa9ad2ffc022cf885857.zip |
Mailer example has more sense calling to deliver method
-rw-r--r-- | activerecord/README.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/README.rdoc b/activerecord/README.rdoc index 3a89446a83..6b4c85bb93 100644 --- a/activerecord/README.rdoc +++ b/activerecord/README.rdoc @@ -84,7 +84,7 @@ A short rundown of some of the major features: class CommentObserver < ActiveRecord::Observer def after_create(comment) # is called just after Comment#save - CommentMailer.new_comment_email("david@loudthinking.com", comment) + CommentMailer.new_comment_email("david@loudthinking.com", comment).deliver end end |