mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
Ruby 1.9 compat: use Array() instead of #to_a.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -473,7 +473,7 @@ module ActionMailer #:nodoc:
|
||||
def deliver!(mail = @mail)
|
||||
raise "no mail object available for delivery!" unless mail
|
||||
unless logger.nil?
|
||||
logger.info "Sent mail to #{recipients.to_a.join(', ')}"
|
||||
logger.info "Sent mail to #{Array(recipients).join(', ')}"
|
||||
logger.debug "\n#{mail.encoded}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user