Use ActiveSupport::Deprecation.warn, not Deprecation.warn