diff options
author | Brian Cardarella <bcardarella@gmail.com> | 2012-06-24 04:28:52 -0400 |
---|---|---|
committer | Brian Cardarella <bcardarella@gmail.com> | 2012-06-24 04:28:52 -0400 |
commit | aee4eec47aca73cdc5515b70c041654a3d2e8b4c (patch) | |
tree | 317635660b0a27a96e1f96a8771e945976399252 /actionmailer/lib | |
parent | 33334d0ea8fed091a145ef04b48d103292d6b4e7 (diff) | |
download | rails-aee4eec47aca73cdc5515b70c041654a3d2e8b4c.tar.gz rails-aee4eec47aca73cdc5515b70c041654a3d2e8b4c.tar.bz2 rails-aee4eec47aca73cdc5515b70c041654a3d2e8b4c.zip |
Better documentation for ActionMailer.async
Diffstat (limited to 'actionmailer/lib')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 1f6c00ce11..272e68a3b5 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -457,6 +457,10 @@ module ActionMailer #:nodoc: end # Will force ActionMailer to push new messages to the Rails.queue + # when set to true + # + # class WelcomeMailer < ActionMailer::Base + # self.async = true def async=(truth) if truth require 'action_mailer/async' |