aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorMikel Lindsaar <raasdnil@gmail.com>2010-05-02 21:48:46 +1000
committerXavier Noria <fxn@ubuntu.(none)>2010-05-04 19:24:40 +0200
commit058f7feafe13024f594ba1e157305c36c20e1d2e (patch)
treece6bdd68b7803b7ad53a817ffac760dbe0353149 /actionmailer
parentfb30feb48bc755018494ac98bb1b96bb7a7c5ecb (diff)
downloadrails-058f7feafe13024f594ba1e157305c36c20e1d2e.tar.gz
rails-058f7feafe13024f594ba1e157305c36c20e1d2e.tar.bz2
rails-058f7feafe13024f594ba1e157305c36c20e1d2e.zip
Cleaning up Action Mailer spelling with and without the space
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/action_mailer.rb2
-rw-r--r--actionmailer/lib/action_mailer/base.rb12
2 files changed, 7 insertions, 7 deletions
diff --git a/actionmailer/lib/action_mailer.rb b/actionmailer/lib/action_mailer.rb
index 46168d9a4a..70cc312634 100644
--- a/actionmailer/lib/action_mailer.rb
+++ b/actionmailer/lib/action_mailer.rb
@@ -27,7 +27,7 @@ $:.unshift(actionpack_path) if File.directory?(actionpack_path) && !$:.include?(
require 'abstract_controller'
require 'action_view'
-# Common ActiveSupport usage in ActionMailer
+# Common Active Support usage in Action Mailer
require 'active_support/core_ext/class'
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/array/uniq_by'
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index f822e14cad..88298966eb 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -13,7 +13,7 @@ module ActionMailer #:nodoc:
#
# $ rails generate mailer Notifier
#
- # The generated model inherits from ActionMailer::Base. Emails are defined by creating methods
+ # The generated model inherits from <tt>ActionMailer::Base</tt>. Emails are defined by creating methods
# within the model which are then used to set variables to be used in the mail template, to
# change options on the mail, or to add attachments.
#
@@ -185,7 +185,7 @@ module ActionMailer #:nodoc:
#
# = Observing and Intercepting Mails
#
- # ActionMailer provides hooks into the Mail observer and interceptor methods. These allow you to
+ # Action Mailer provides hooks into the Mail observer and interceptor methods. These allow you to
# register objects that are called during the mail delivery life cycle.
#
# An observer object must implement the <tt>:delivered_email(message)</tt> method which will be
@@ -198,7 +198,7 @@ module ActionMailer #:nodoc:
#
# = Default Hash
#
- # ActionMailer provides some intelligent defaults for your emails, these are usually specified in a
+ # Action Mailer provides some intelligent defaults for your emails, these are usually specified in a
# default method inside the class definition:
#
# class Notifier < ActionMailer::Base
@@ -214,7 +214,7 @@ module ActionMailer #:nodoc:
# * <tt>:parts_order => [ "text/plain", "text/enriched", "text/html" ]</tt>
#
# <tt>parts_order</tt> and <tt>charset</tt> are not actually valid <tt>Mail::Message</tt> header fields,
- # but ActionMailer translates them appropriately and sets the correct values.
+ # but Action Mailer translates them appropriately and sets the correct values.
#
# As you can pass in any header, you need to either quote the header as a string, or pass it in as
# an underscorised symbol, so the following will work:
@@ -224,7 +224,7 @@ module ActionMailer #:nodoc:
# :content_description => 'This is a description'
# end
#
- # Finally, ActionMailer also supports passing <tt>Proc</tt> objects into the default hash, so you
+ # Finally, Action Mailer also supports passing <tt>Proc</tt> objects into the default hash, so you
# can define methods that evaluate as the message is being generated:
#
# class Notifier < ActionMailer::Base
@@ -478,7 +478,7 @@ module ActionMailer #:nodoc:
# Both methods accept a headers hash. This hash allows you to specify the most used headers
# in an email message, these are:
#
- # * <tt>:subject</tt> - The subject of the message, if this is omitted, ActionMailer will
+ # * <tt>:subject</tt> - The subject of the message, if this is omitted, Action Mailer will
# ask the Rails I18n class for a translated <tt>:subject</tt> in the scope of
# <tt>[:actionmailer, mailer_scope, action_name]</tt> or if this is missing, will translate the
# humanized version of the <tt>action_name</tt>