Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #2245: as_clean_logger_rb-fixed.patch

File as_clean_logger_rb-fixed.patch, 449 bytes (added by michael@schubert.cx, 3 years ago)

Yeah let's get the Namespace right this time Schubert :-)

  • activesupport/lib/active_support/clean_logger.rb

    old new  
    1010  end 
    1111 
    1212  private 
    13     remove_const "Format" 
     13    if const_defined?(:Format) # Not defined in Ruby 1.8.3 
     14      remove_const "Format" 
     15    end 
    1416    Format = "%s\n" 
    1517    def format_message(severity, timestamp, msg, progname) 
    1618      Format % [msg]