David Kimura PRO said almost 3 years ago on What's New in Rails 6 :
Just to make sure, in your ApplicationRecord class, did you set the connects_to?

connects_to database: { writing: :primary, reading: :follower }