From 2a76f33b511c745fd511e0049e63c426bb511b67 Mon Sep 17 00:00:00 2001 From: Claudio Poli Date: Tue, 29 Nov 2011 00:26:58 +0100 Subject: Fix typo in AS::TaggedLogging --- activesupport/lib/active_support/tagged_logging.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/tagged_logging.rb b/activesupport/lib/active_support/tagged_logging.rb index a59fc26d5d..63e8837a07 100644 --- a/activesupport/lib/active_support/tagged_logging.rb +++ b/activesupport/lib/active_support/tagged_logging.rb @@ -30,7 +30,7 @@ module ActiveSupport @logger.add(severity, "#{tags_text}#{message}", progname, &block) end - %w( fatal error warn info debug unkown ).each do |severity| + %w( fatal error warn info debug unknown ).each do |severity| eval <<-EOM, nil, __FILE__, __LINE__ + 1 def #{severity}(progname = nil, &block) add(Logger::#{severity.upcase}, progname, &block) -- cgit v1.2.3