Permalink
Browse files

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
  • Loading branch information...
1 parent ddc863c commit 7ed37c82a9d8d5d8df8b18d6baaf1ecc4abd06f8 @jeremy jeremy committed Nov 21, 2005
Showing with 2 additions and 0 deletions.
  1. +2 −0 activesupport/lib/active_support/clean_logger.rb
@@ -20,6 +20,8 @@ def silence(temporary_level = Logger::ERROR)
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

0 comments on commit 7ed37c8

Please sign in to comment.