Is there any way to tell active record not to log the ansi color codes when its logging stuff?
Eg. I do not want this in my logs.
[4;36;1mSQL (0.1ms)[0m
Answer for Rails 3:
config.colorize_logging = false
See http://guides.rubyonrails.org/3_0_release_notes.html
ActiveRecord::Base.colorize_logging and config.active_record.colorize_logging are deprecated in favor of Rails::LogSubscriber.colorize_logging or config.colorize_logging