aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/tagged_logging.rb
diff options
context:
space:
mode:
authorPiotr Niełacny <piotr.nielacny@gmail.com>2012-07-18 09:44:45 +0200
committerPiotr Niełacny <piotr.nielacny@gmail.com>2012-07-18 09:44:45 +0200
commitdc97a9a9ddc98ff65cc4826ac96c8594fec7b8f0 (patch)
treef4d637872996a214f43ba5b46ff85e7adf11c277 /activesupport/lib/active_support/tagged_logging.rb
parent58ccc9f6c5d261f7c1305d822b16447ac3d286b3 (diff)
downloadrails-dc97a9a9ddc98ff65cc4826ac96c8594fec7b8f0.tar.gz
rails-dc97a9a9ddc98ff65cc4826ac96c8594fec7b8f0.tar.bz2
rails-dc97a9a9ddc98ff65cc4826ac96c8594fec7b8f0.zip
Don't use default separator
When the default separator is set logger will create incorrect output
Diffstat (limited to 'activesupport/lib/active_support/tagged_logging.rb')
-rw-r--r--activesupport/lib/active_support/tagged_logging.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/tagged_logging.rb b/activesupport/lib/active_support/tagged_logging.rb
index 5e080df518..974c42ebba 100644
--- a/activesupport/lib/active_support/tagged_logging.rb
+++ b/activesupport/lib/active_support/tagged_logging.rb
@@ -31,7 +31,7 @@ module ActiveSupport
def tags_text
tags = current_tags
if tags.any?
- tags.collect { |tag| "[#{tag}] " }.join
+ tags.collect { |tag| "[#{tag}] " }.join('')
end
end
end