aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-03-31 05:31:29 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2008-03-31 05:31:29 +0000
commitbe3645518143f2c510623fad40550f074cbca57d (patch)
treed60b3e800149b46b15916bcfb51eecfce075b214
parentf6484e63c1678712cd3f9be874bdb011598d2454 (diff)
downloadrails-be3645518143f2c510623fad40550f074cbca57d.tar.gz
rails-be3645518143f2c510623fad40550f074cbca57d.tar.bz2
rails-be3645518143f2c510623fad40550f074cbca57d.zip
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
-rw-r--r--actionmailer/lib/action_mailer/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index 56db84f17c..0bb7c6c98e 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -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