diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-21 07:29:22 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-21 07:29:22 +0000 |
commit | 7ed37c82a9d8d5d8df8b18d6baaf1ecc4abd06f8 (patch) | |
tree | a221eefdd2b21751974139f3552a07005673f984 /activesupport | |
parent | ddc863c13462103daa00f7ba70c8fcc8feabe3a4 (diff) | |
download | rails-7ed37c82a9d8d5d8df8b18d6baaf1ecc4abd06f8.tar.gz rails-7ed37c82a9d8d5d8df8b18d6baaf1ecc4abd06f8.tar.bz2 rails-7ed37c82a9d8d5d8df8b18d6baaf1ecc4abd06f8.zip |
r3218@asus: jeremy | 2005-11-20 03:06:32 -0800
alias old format_message before overriding it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/clean_logger.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/clean_logger.rb b/activesupport/lib/active_support/clean_logger.rb index 89dfae8f2f..2730ef9008 100644 --- a/activesupport/lib/active_support/clean_logger.rb +++ b/activesupport/lib/active_support/clean_logger.rb @@ -20,6 +20,8 @@ class Logger #:nodoc: end private + alias old_format_message format_message + # Ruby 1.8.3 transposed the msg and progname arguments to format_message. # We can't test RUBY_VERSION because some distributions don't keep Ruby # and its standard library in sync, leading to installations of Ruby 1.8.2 |