Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ruby 1.9 compat: join the buffer array explicitly rather than relying…

… on to_s to flatten it

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 40bff298898ed3e43c4cb82876680723f830c7c5 1 parent b4e3b5d
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/buffered_logger.rb
View
2  activesupport/lib/active_support/buffered_logger.rb
@@ -90,7 +90,7 @@ def auto_flushing=(period)
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
Please sign in to comment.
Something went wrong with that request. Please try again.