bespokoid
4/26/2012 - 10:03 AM

Controll deprecation warnings output in Rails

Controll deprecation warnings output in Rails

# Simple turn it off
ActiveSupport::Deprecation.silenced = true
# Or add custom handler
# ActiveSupport::Deprecation.behavior = Proc.new { |msg, stack| MyLogger.warn(msg) }