Changeset 397
- Timestamp:
- 04/23/07 00:31:44 (1 year ago)
- Files:
-
- branches/mental/radiant/config/environment.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/mental/radiant/config/environment.rb
r396 r397 70 70 71 71 require "status" 72 73 class ActiveRecord::ConnectionAdapters::SqliteAdapter74 def format_log_entry(message, dump = nil)75 if dump76 dump = dump.gsub(/x([^]+)/) do |blob|77 (blob.length > 32) ? "x#{$1[0,32]}78 (#{blob.length} bytes)" : $079 end80 end81 super82 end83 end
