Skip to content

Commit

Permalink
Fix docs to reference ActiveRecord::LogSubscriber
Browse files Browse the repository at this point in the history
since Rails::LogSubscriber doesn't seem to be defined anymore
  • Loading branch information
dolzenko committed Aug 21, 2010
1 parent 0c75ec5 commit c0549ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/base.rb
Expand Up @@ -432,7 +432,7 @@ class << self # Class methods
def colorize_logging(*args) def colorize_logging(*args)
ActiveSupport::Deprecation.warn "ActiveRecord::Base.colorize_logging and " << ActiveSupport::Deprecation.warn "ActiveRecord::Base.colorize_logging and " <<
"config.active_record.colorize_logging are deprecated. Please use " << "config.active_record.colorize_logging are deprecated. Please use " <<
"Rails::LogSubscriber.colorize_logging or config.colorize_logging instead", caller "ActiveRecord::LogSubscriber.colorize_logging or config.colorize_logging instead", caller
end end
alias :colorize_logging= :colorize_logging alias :colorize_logging= :colorize_logging


Expand Down

0 comments on commit c0549ed

Please sign in to comment.