From 07a5fdedd4b392ec172a3cf6294900afd75495b6 Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Sun, 2 May 2010 21:48:46 +1000 Subject: Cleaning up Action Mailer spelling with and without the space --- actionmailer/lib/action_mailer.rb | 2 +- actionmailer/lib/action_mailer/base.rb | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'actionmailer') 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 0a794dc50b..efef5da6d7 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 ActionMailer::Base. 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 :delivered_email(message) 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: # * :parts_order => [ "text/plain", "text/enriched", "text/html" ] # # parts_order and charset are not actually valid Mail::Message 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 Proc objects into the default hash, so you + # Finally, Action Mailer also supports passing Proc 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: # - # * :subject - The subject of the message, if this is omitted, ActionMailer will + # * :subject - The subject of the message, if this is omitted, Action Mailer will # ask the Rails I18n class for a translated :subject in the scope of # [:actionmailer, mailer_scope, action_name] or if this is missing, will translate the # humanized version of the action_name -- cgit v1.2.3