-
Jonathan Hefner authored
This commit adds `ActiveRecord.deprecator` and replaces all usages of `ActiveSupport::Deprecation.warn` in `activerecord/lib` with `ActiveRecord.deprecator`. Additionally, this commit adds `ActiveRecord.deprecator` to `Rails.application.deprecators` so that it can be configured using e.g. `config.active_support.report_deprecations`.
Jonathan Hefner authoredThis commit adds `ActiveRecord.deprecator` and replaces all usages of `ActiveSupport::Deprecation.warn` in `activerecord/lib` with `ActiveRecord.deprecator`. Additionally, this commit adds `ActiveRecord.deprecator` to `Rails.application.deprecators` so that it can be configured using e.g. `config.active_support.report_deprecations`.
Loading