From a98eca8ba501f0370f4ea115bb750b897785215a Mon Sep 17 00:00:00 2001 From: Waynn Lue Date: Sat, 30 Jul 2011 18:27:08 -0700 Subject: "blog" is more common than "weblog" these days. --- actionmailer/README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer/README.rdoc') diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc index 63e3893316..de4740b2ed 100644 --- a/actionmailer/README.rdoc +++ b/actionmailer/README.rdoc @@ -10,7 +10,7 @@ Mail gem. It provides a way to make emails using templates in the same way that Action Controller renders views using templates. Additionally, an Action Mailer class can be used to process incoming email, -such as allowing a weblog to accept new posts from an email (which could even +such as allowing a blog to accept new posts from an email (which could even have been sent from a phone). == Sending emails -- cgit v1.2.3 From 55296ec0ea4d65f1eb8a41cdd314ba8bc984b2b4 Mon Sep 17 00:00:00 2001 From: Waynn Lue Date: Sun, 31 Jul 2011 11:56:47 -0700 Subject: typo in "wont" --- actionmailer/README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer/README.rdoc') diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc index de4740b2ed..42e612cd07 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 default 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 :from 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 wont 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 default 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 :from 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. -- cgit v1.2.3 From 0012a9e9d4526c2d7307afb686a0541ba94051a9 Mon Sep 17 00:00:00 2001 From: Waynn Lue Date: Wed, 3 Aug 2011 21:43:55 -0700 Subject: The trailing '/' isn't being picked up by Github anyway, and the link works as is. --- actionmailer/README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer/README.rdoc') diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc index 42e612cd07..937b53a3b2 100644 --- a/actionmailer/README.rdoc +++ b/actionmailer/README.rdoc @@ -141,7 +141,7 @@ The latest version of Action Mailer can be installed with Rubygems: Source code can be downloaded as part of the Rails project on GitHub -* https://github.com/rails/rails/tree/master/actionmailer/ +* https://github.com/rails/rails/tree/master/actionmailer == License -- cgit v1.2.3 From b905f8c96326c86caafc20bec7e3722cf4813d2c Mon Sep 17 00:00:00 2001 From: Sukeerthi Adiga Date: Fri, 5 Aug 2011 14:04:43 +0530 Subject: Rubygems => RubyGems --- actionmailer/README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer/README.rdoc') diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc index 937b53a3b2..f48e77b4c7 100644 --- a/actionmailer/README.rdoc +++ b/actionmailer/README.rdoc @@ -135,7 +135,7 @@ The Base class has the full list of configuration options. Here's an example: == Download and installation -The latest version of Action Mailer can be installed with Rubygems: +The latest version of Action Mailer can be installed with RubyGems: % [sudo] gem install actionmailer -- cgit v1.2.3 From 893ee7f71d8f6ebe127c6d06a459cec1affcc802 Mon Sep 17 00:00:00 2001 From: Alexey Vakhov Date: Mon, 26 Sep 2011 21:46:25 +0400 Subject: fix ActionMailer readme example --- actionmailer/README.rdoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionmailer/README.rdoc') diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc index f48e77b4c7..dc74b590f7 100644 --- a/actionmailer/README.rdoc +++ b/actionmailer/README.rdoc @@ -59,6 +59,8 @@ generated would look like this: Mr. david@loudthinking.com + Thank you for signing up! + In previous version of Rails you would call create_method_name and deliver_method_name. Rails 3.0 has a much simpler interface, you simply call the method and optionally call +deliver+ on the return value. -- cgit v1.2.3