From cd7fbcbba82c08aeaac791e4d8ff3f789e628b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sat, 10 Dec 2011 11:17:00 +0100 Subject: Fix AS test suite. --- activesupport/lib/active_support/tagged_logging.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/tagged_logging.rb b/activesupport/lib/active_support/tagged_logging.rb index c3c61e178e..0f3ac0c132 100644 --- a/activesupport/lib/active_support/tagged_logging.rb +++ b/activesupport/lib/active_support/tagged_logging.rb @@ -40,6 +40,7 @@ module ActiveSupport def flush @tags.delete(Thread.current) + @logger.flush if @logger.respond_to?(:flush) end def method_missing(method, *args) -- cgit v1.2.3