public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/jeremy/rails.git
Fix docs (closes #2598)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2743 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Wed Oct 26 06:04:20 -0700 2005
commit  475bd74168a611cf0aeeda42d464aff1b3dfa806
tree    67fbc5854a3387d6efe7a9468734226a69d4ba7b
parent  95e8740fdec01b2beb8f6012f9cc38d2c89122eb
...
1
2
3
 
4
5
6
...
145
146
147
148
149
 
...
1
2
 
3
4
5
6
...
145
146
147
 
148
149
0
@@ -1,6 +1,6 @@
0
 = Action Mailer -- Easy email delivery and testing
0
 
0
-Action Mailer is framework for designing email-service layers. These layers
0
+Action Mailer is a framework for designing email-service layers. These layers
0
 are used to consolidate code for sending out forgotten passwords, welcoming
0
 wishes on signup, invoices for billing, and any other use case that requires
0
 a written notification to either a person or another system.
0
@@ -145,4 +145,4 @@ And as Jim from Rake says:
0
    new feature to be submitted in the form of new unit tests.
0
 
0
 For other information, feel free to ask on the ruby-talk mailing list (which
0
-is mirrored to comp.lang.ruby) or contact mailto:david@loudthinking.com.
0
\ No newline at end of file
0
+is mirrored to comp.lang.ruby) or contact mailto:david@loudthinking.com.
...
4
5
6
7
 
8
9
10
...
4
5
6
 
7
8
9
10
0
@@ -4,7 +4,7 @@ require 'ftools'
0
 
0
 include Config
0
 
0
-# this was adapted from rdoc's install.rb by ways of Log4r
0
+# this was adapted from rdoc's install.rb by way of Log4r
0
 
0
 $sitedir = CONFIG["sitelibdir"]
0
 unless $sitedir
...
9
10
11
12
13
 
 
14
15
16
...
71
72
73
74
 
75
76
77
...
87
88
89
90
91
 
 
92
93
94
 
 
95
96
97
...
108
109
110
111
 
112
113
114
115
116
 
117
118
119
...
9
10
11
 
 
12
13
14
15
16
...
71
72
73
 
74
75
76
77
...
87
88
89
 
 
90
91
92
 
 
93
94
95
96
97
...
108
109
110
 
111
112
113
114
115
 
116
117
118
119
0
@@ -9,8 +9,8 @@ module ActionMailer
0
   #
0
   # class ApplicationMailer < ActionMailer::Base
0
   # # Set up properties
0
- # # (Properties can also be specified via accessor methods
0
- # # i.e. self.subject = "foo") and instance variables (@subject = "foo").
0
+ # # Properties can also be specified via accessor methods
0
+ # # (i.e. self.subject = "foo") and instance variables (@subject = "foo").
0
   # def signup_notification(recipient)
0
   # recipients recipient.email_address_with_name
0
   # subject "New account information"
0
@@ -71,7 +71,7 @@ module ActionMailer
0
   # end
0
   # end
0
   #
0
- # # After this post_notification will look for "templates/application_mailer/post_notification.rhtml"
0
+ # # After this, post_notification will look for "templates/application_mailer/post_notification.rhtml"
0
   # ApplicationMailer.template_root = "templates"
0
   #
0
   # ApplicationMailer.create_comment_notification(david, hello_world) # => a tmail object
0
@@ -87,11 +87,11 @@ module ActionMailer
0
   # Can be set to nil for no logging. Compatible with both Ruby's own Logger and Log4r loggers.
0
   #
0
   # * <tt>server_settings</tt> - Allows detailed configuration of the server:
0
- # * <tt>:address</tt> Allows you to use a remote mail server. Just change it away from it's default "localhost" setting.
0
- # * <tt>:port</tt> On the off change that your mail server doesn't run on port 25, you can change it.
0
+ # * <tt>:address</tt> Allows you to use a remote mail server. Just change it from its default "localhost" setting.
0
+ # * <tt>:port</tt> On the off chance that your mail server doesn't run on port 25, you can change it.
0
   # * <tt>:domain</tt> If you need to specify a HELO domain, you can do it here.
0
- # * <tt>:user_name</tt> If your mail server requires authentication, set the username and password in these two settings.
0
- # * <tt>:password</tt> If your mail server requires authentication, set the username and password in these two settings.
0
+ # * <tt>:user_name</tt> If your mail server requires authentication, set the username in this setting.
0
+ # * <tt>:password</tt> If your mail server requires authentication, set the password in this setting.
0
   # * <tt>:authentication</tt> If your mail server requires authentication, you need to specify the authentication type here.
0
   # This is a symbol and one of :plain, :login, :cram_md5
0
   #
0
@@ -108,12 +108,12 @@ module ActionMailer
0
   #
0
   # * <tt>default_charset</tt> - The default charset used for the body and to encode the subject. Defaults to UTF-8. You can also
0
   # pick a different charset from inside a method with <tt>@charset</tt>.
0
- # * <tt>default_content_type</tt> - The default content type used for main part of the message. Defaults to "text/plain". You
0
+ # * <tt>default_content_type</tt> - The default content type used for the main part of the message. Defaults to "text/plain". You
0
   # can also pick a different content type from inside a method with <tt>@content_type</tt>.
0
   # * <tt>default_mime_version</tt> - The default mime version used for the message. Defaults to nil. You
0
   # can also pick a different value from inside a method with <tt>@mime_version</tt>. When multipart messages are in
0
   # use, <tt>@mime_version</tt> will be set to "1.0" if it is not set inside a method.
0
- # * <tt>default_implicit_parts_order</tt> - When a message is built implicitly (i.e. multiple parts are assemble from templates
0
+ # * <tt>default_implicit_parts_order</tt> - When a message is built implicitly (i.e. multiple parts are assembled from templates
0
   # which specify the content type in their filenames) this variable controls how the parts are ordered. Defaults to
0
   # ["text/html", "text/enriched", "text/plain"]. Items that appear first in the array have higher priority in the mail client
0
   # and appear last in the mime encoded message. You can also pick a different order from inside a method with
...
20
21
22
23
 
24
25
26
...
20
21
22
 
23
24
25
26
0
@@ -20,7 +20,7 @@ module ActionMailer
0
     attr_reader :parts
0
 
0
     # Add a part to a multipart message, with the given content-type. The
0
- # part itself is yielded to the block, so that other properties (charset,
0
+ # part itself is yielded to the block so that other properties (charset,
0
     # body, headers, etc.) can be set on it.
0
     def part(params)
0
       params = {:content_type => params} if String === params

Comments

    No one has commented yet.