aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2013-03-30 15:46:14 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2013-03-30 15:46:14 +0530
commit6d8c070821bc846eb263b8c045ae652ebd751569 (patch)
tree414dcf7d7a9a5885235b0426e545bd21b994091d /actionmailer
parent022ed6c763d91e1bb032150fc7ec5991141f8119 (diff)
parent6bd1bbe7cf87ae2b4764e0ed0d5b583bd026af8a (diff)
downloadrails-6d8c070821bc846eb263b8c045ae652ebd751569.tar.gz
rails-6d8c070821bc846eb263b8c045ae652ebd751569.tar.bz2
rails-6d8c070821bc846eb263b8c045ae652ebd751569.zip
Merge branch 'master' of github.com:lifo/docrails
Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/adapter_test.rb guides/source/testing.md [ci skip]
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/README.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc
index 9feb2add5b..4d78d6142a 100644
--- a/actionmailer/README.rdoc
+++ b/actionmailer/README.rdoc
@@ -1,6 +1,6 @@
= Action Mailer -- Easy email delivery and testing
-Action Mailer is a framework for designing email-service layers. These layers
+Action Mailer is a framework for designing email service layers. These layers
are used to consolidate code for sending out forgotten passwords, welcome
wishes on signup, invoices for billing, and any other use case that requires
a written notification to either a person or another system.
@@ -78,7 +78,7 @@ Or you can just chain the methods together like:
It is possible to set default values that will be used in every method in your Action Mailer class. To implement this functionality, you just call the public class method <tt>default</tt> which you get for free from ActionMailer::Base. This method accepts a Hash as the parameter. You can use any of the headers e-mail messages has, like <tt>:from</tt> as the key. You can also pass in a string as the key, like "Content-Type", but Action Mailer does this out of the box for you, so you won't need to worry about that. Finally, it is also possible to pass in a Proc that will get evaluated when it is needed.
-Note that every value you set with this method will get over written if you use the same key in your mailer method.
+Note that every value you set with this method will get overwritten if you use the same key in your mailer method.
Example: