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:
parent
b4e3b5d418
commit
40bff29889
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue