From aee4eec47aca73cdc5515b70c041654a3d2e8b4c Mon Sep 17 00:00:00 2001 From: Brian Cardarella Date: Sun, 24 Jun 2012 04:28:52 -0400 Subject: Better documentation for ActionMailer.async --- actionmailer/lib/action_mailer/base.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionmailer/lib/action_mailer') 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' -- cgit v1.2.3