Skip to content

Loading…

Typo in ActionMailer::Base #1371

Merged
merged 2 commits into from

2 participants

@siong1987

While reading the code of ActionMailer::Base, found out some typos and fixed them.

@fxn
Ruby on Rails member

Thanks very much.

We have also docrails, which is a branch in github with public write access for doc fixes. Please feel free to push edits directly there if you'r sure about them.

Thanks!

@fxn fxn merged commit 6a3eabe into rails:master
@jake3030 jake3030 pushed a commit to jake3030/rails that referenced this pull request
@willbryant willbryant Moved the * strings out of construct_finder_sql to a new default_sele…
…ct method so it can be overridden by plugins cleanly

Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1371 state:resolved]
789a3f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 9 deletions.
  1. +9 −9 actionmailer/lib/action_mailer/base.rb
View
18 actionmailer/lib/action_mailer/base.rb
@@ -22,16 +22,16 @@ module ActionMailer #:nodoc:
#
# Examples:
#
- # class Notifier < ActionMailer::Base
- # default :from => 'no-reply@example.com',
+ # class Notifier < ActionMailer::Base
+ # default :from => 'no-reply@example.com',
# :return_path => 'system@example.com'
#
- # def welcome(recipient)
- # @account = recipient
- # mail(:to => recipient.email_address_with_name,
- # :bcc => ["bcc@example.com", "Order Watcher <watcher@example.com>"])
- # end
- # end
+ # def welcome(recipient)
+ # @account = recipient
+ # mail(:to => recipient.email_address_with_name,
+ # :bcc => ["bcc@example.com", "Order Watcher <watcher@example.com>"])
+ # end
+ # end
#
# Within the mailer method, you have access to the following methods:
#
@@ -366,7 +366,7 @@ def register_observer(observer)
end
# Register an Inteceptor which will be called before mail is sent.
- # Either a class or a string can be passed in as the Observer. If a string is passed in
+ # Either a class or a string can be passed in as the Interceptor. If a string is passed in
# it will be <tt>constantize</tt>d.
def register_interceptor(interceptor)
delivery_interceptor = (interceptor.is_a?(String) ? interceptor.constantize : interceptor)
Something went wrong with that request. Please try again.