Skip to content
  • Jonathan Hefner's avatar
    682353e3
    Add ActiveRecord.deprecator · 682353e3
    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`.
    682353e3
    Add ActiveRecord.deprecator
    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`.
Loading