aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2014-02-09 23:33:55 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2014-02-09 23:33:55 +0530
commit92fdd6516287f677cd6687e5c31298fa68931baa (patch)
tree4dcf9071b9f5940974bac3168357151cf92c340b /actionmailer
parent33be58b2060b1e859e8da370b911822c20028690 (diff)
parentae7580ac287df477e7f5dd57136d5eec3813629d (diff)
downloadrails-92fdd6516287f677cd6687e5c31298fa68931baa.tar.gz
rails-92fdd6516287f677cd6687e5c31298fa68931baa.tar.bz2
rails-92fdd6516287f677cd6687e5c31298fa68931baa.zip
Merge branch 'master' of github.com:rails/docrails
Conflicts: guides/source/active_record_validations.md guides/source/api_documentation_guidelines.md guides/source/configuring.md
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/README.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc
index c3dcd3c3e4..e425282fa8 100644
--- a/actionmailer/README.rdoc
+++ b/actionmailer/README.rdoc
@@ -74,7 +74,7 @@ Or you can just chain the methods together like:
== Setting defaults
-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 <tt>ActionMailer::Base</tt>. 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.
+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 <tt>ActionMailer::Base</tt>. This method accepts a Hash as the parameter. You can use any of the headers email messages have, 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 overwritten if you use the same key in your mailer method.