diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-05-16 21:54:28 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-05-16 21:54:28 -0700 |
commit | 47971a1eb586167f2c039849cbccfdebcea4241d (patch) | |
tree | 022eac4a2a55a62641024f1068f6ac527ba4e83e /activesupport/lib/active_support | |
parent | 251b22f7610f6b62028297058b6321b788f4f610 (diff) | |
parent | e3f8b53336500651f3a2b9870e43239b52ef9ef9 (diff) | |
download | rails-47971a1eb586167f2c039849cbccfdebcea4241d.tar.gz rails-47971a1eb586167f2c039849cbccfdebcea4241d.tar.bz2 rails-47971a1eb586167f2c039849cbccfdebcea4241d.zip |
Merge pull request #6360 from bcardarella/logger_debug_fix
Fixed logger bug introduced by #2237
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/log_subscriber/test_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/log_subscriber/test_helper.rb b/activesupport/lib/active_support/log_subscriber/test_helper.rb index 7b7fc81e6c..6e1502989b 100644 --- a/activesupport/lib/active_support/log_subscriber/test_helper.rb +++ b/activesupport/lib/active_support/log_subscriber/test_helper.rb @@ -61,6 +61,9 @@ module ActiveSupport @logged = Hash.new { |h,k| h[k] = [] } end + def debug + end + def method_missing(level, message) @logged[level] << message end |