diff options
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/buffered_logger.rb | 2 |
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 fad47b0e9b..08e71e5b8c 100644 --- a/activesupport/lib/active_support/buffered_logger.rb +++ b/activesupport/lib/active_support/buffered_logger.rb @@ -91,7 +91,7 @@ module ActiveSupport end def flush - @log.write(@buffer.slice!(0..-1)) unless @buffer.empty? + @log.write(@buffer.slice!(0..-1).to_s) unless @buffer.empty? end def close |