ActiveRecord::Base.application_record_class= is deprecated and will be removed in Rails 7.1.
Use `ActiveRecord.application_record_class=` instead.
