1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
Jeremy Kemper 2007-12-19 09:40:58 +00:00
parent b4e3b5d418
commit 40bff29889

View file

@ -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