Set the deprecation behavior on ActiveRecord.deprecator, instead of ActiveSupport::Deprecation, as that is deprecated. Fixes the following warnings:
ActiveSupport::DeprecationException: DEPRECATION WARNING: Calling
behavior= on ActiveSupport::Deprecation is deprecated and will be
removed from Rails (use Rails.application.deprecators.behavior=
instead)
Set the deprecation behavior on ActiveRecord.deprecator, instead of ActiveSupport::Deprecation, as that is deprecated. Fixes the following warnings: