aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/README.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/README.rdoc')
-rw-r--r--activerecord/README.rdoc2
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