Changeset 397

Show
Ignore:
Timestamp:
04/23/07 00:31:44 (1 year ago)
Author:
danshep
Message:

mental: Revert accidental commit.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/mental/radiant/config/environment.rb

    r396 r397  
    7070 
    7171require "status" 
    72  
    73 class ActiveRecord::ConnectionAdapters::SqliteAdapter 
    74   def format_log_entry(message, dump = nil) 
    75     if dump 
    76       dump = dump.gsub(/x’([^’]+)’/) do |blob| 
    77         (blob.length > 32) ? "x’#{$1[0,32]} 
    78  (#{blob.length} bytes)’" : $0 
    79       end 
    80     end 
    81     super 
    82   end 
    83 end