aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/buffered_logger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/buffered_logger.rb b/activesupport/lib/active_support/buffered_logger.rb
index c854599e69..c56dccc1f7 100644
--- a/activesupport/lib/active_support/buffered_logger.rb
+++ b/activesupport/lib/active_support/buffered_logger.rb
@@ -90,7 +90,7 @@ module ActiveSupport
end
def flush
- @log.write(@buffer.slice!(0..-1).to_s) unless @buffer.empty?
+ @log.write(@buffer.slice!(0..-1).join) unless @buffer.empty?
end
def close