aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-10-26 13:04:20 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-10-26 13:04:20 +0000
commit475bd74168a611cf0aeeda42d464aff1b3dfa806 (patch)
tree67fbc5854a3387d6efe7a9468734226a69d4ba7b /actionmailer
parent95e8740fdec01b2beb8f6012f9cc38d2c89122eb (diff)
downloadrails-475bd74168a611cf0aeeda42d464aff1b3dfa806.tar.gz
rails-475bd74168a611cf0aeeda42d464aff1b3dfa806.tar.bz2
rails-475bd74168a611cf0aeeda42d464aff1b3dfa806.zip
Fix docs (closes #2598)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer')
-rwxr-xr-xactionmailer/README4
-rw-r--r--actionmailer/install.rb2
-rw-r--r--actionmailer/lib/action_mailer/base.rb18
-rw-r--r--actionmailer/lib/action_mailer/part_container.rb2
4 files changed, 13 insertions, 13 deletions
diff --git a/actionmailer/README b/actionmailer/README
index 8eb973668e..8c85e1aeb7 100755
--- a/actionmailer/README
+++ b/actionmailer/README
@@ -1,6 +1,6 @@
= Action Mailer -- Easy email delivery and testing
-Action Mailer is 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, welcoming
wishes on signup, invoices for billing, and any other use case that requires
a written notification to either a person or another system.
@@ -145,4 +145,4 @@ And as Jim from Rake says:
new feature to be submitted in the form of new unit tests.
For other information, feel free to ask on the ruby-talk mailing list (which
-is mirrored to comp.lang.ruby) or contact mailto:david@loudthinking.com. \ No newline at end of file
+is mirrored to comp.lang.ruby) or contact mailto:david@loudthinking.com.
diff --git a/actionmailer/install.rb b/actionmailer/install.rb
index e65d0d10ad..c559edfff5 100644
--- a/actionmailer/install.rb
+++ b/actionmailer/install.rb
@@ -4,7 +4,7 @@ require 'ftools'
include Config
-# this was adapted from rdoc's install.rb by ways of Log4r
+# this was adapted from rdoc's install.rb by way of Log4r
$sitedir = CONFIG["sitelibdir"]
unless $sitedir
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index aa1fb648a0..cc996790c8 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -9,8 +9,8 @@ module ActionMailer
#
# class ApplicationMailer < ActionMailer::Base
# # Set up properties
- # # (Properties can also be specified via accessor methods
- # # i.e. self.subject = "foo") and instance variables (@subject = "foo").
+ # # Properties can also be specified via accessor methods
+ # # (i.e. self.subject = "foo") and instance variables (@subject = "foo").
# def signup_notification(recipient)
# recipients recipient.email_address_with_name
# subject "New account information"
@@ -71,7 +71,7 @@ module ActionMailer
# end
# end
#
- # # After this post_notification will look for "templates/application_mailer/post_notification.rhtml"
+ # # After this, post_notification will look for "templates/application_mailer/post_notification.rhtml"
# ApplicationMailer.template_root = "templates"
#
# ApplicationMailer.create_comment_notification(david, hello_world) # => a tmail object
@@ -87,11 +87,11 @@ module ActionMailer
# Can be set to nil for no logging. Compatible with both Ruby's own Logger and Log4r loggers.
#
# * <tt>server_settings</tt> - Allows detailed configuration of the server:
- # * <tt>:address</tt> Allows you to use a remote mail server. Just change it away from it's default "localhost" setting.
- # * <tt>:port</tt> On the off change that your mail server doesn't run on port 25, you can change it.
+ # * <tt>:address</tt> Allows you to use a remote mail server. Just change it from its default "localhost" setting.
+ # * <tt>:port</tt> On the off chance that your mail server doesn't run on port 25, you can change it.
# * <tt>:domain</tt> If you need to specify a HELO domain, you can do it here.
- # * <tt>:user_name</tt> If your mail server requires authentication, set the username and password in these two settings.
- # * <tt>:password</tt> If your mail server requires authentication, set the username and password in these two settings.
+ # * <tt>:user_name</tt> If your mail server requires authentication, set the username in this setting.
+ # * <tt>:password</tt> If your mail server requires authentication, set the password in this setting.
# * <tt>:authentication</tt> If your mail server requires authentication, you need to specify the authentication type here.
# This is a symbol and one of :plain, :login, :cram_md5
#
@@ -108,12 +108,12 @@ module ActionMailer
#
# * <tt>default_charset</tt> - The default charset used for the body and to encode the subject. Defaults to UTF-8. You can also
# pick a different charset from inside a method with <tt>@charset</tt>.
- # * <tt>default_content_type</tt> - The default content type used for main part of the message. Defaults to "text/plain". You
+ # * <tt>default_content_type</tt> - The default content type used for the main part of the message. Defaults to "text/plain". You
# can also pick a different content type from inside a method with <tt>@content_type</tt>.
# * <tt>default_mime_version</tt> - The default mime version used for the message. Defaults to nil. You
# can also pick a different value from inside a method with <tt>@mime_version</tt>. When multipart messages are in
# use, <tt>@mime_version</tt> will be set to "1.0" if it is not set inside a method.
- # * <tt>default_implicit_parts_order</tt> - When a message is built implicitly (i.e. multiple parts are assemble from templates
+ # * <tt>default_implicit_parts_order</tt> - When a message is built implicitly (i.e. multiple parts are assembled from templates
# which specify the content type in their filenames) this variable controls how the parts are ordered. Defaults to
# ["text/html", "text/enriched", "text/plain"]. Items that appear first in the array have higher priority in the mail client
# and appear last in the mime encoded message. You can also pick a different order from inside a method with
diff --git a/actionmailer/lib/action_mailer/part_container.rb b/actionmailer/lib/action_mailer/part_container.rb
index 9cbdd35497..6199fe0b6e 100644
--- a/actionmailer/lib/action_mailer/part_container.rb
+++ b/actionmailer/lib/action_mailer/part_container.rb
@@ -20,7 +20,7 @@ module ActionMailer
attr_reader :parts
# Add a part to a multipart message, with the given content-type. The
- # part itself is yielded to the block, so that other properties (charset,
+ # part itself is yielded to the block so that other properties (charset,
# body, headers, etc.) can be set on it.
def part(params)
params = {:content_type => params} if String === params