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