David Kimura PRO said over 2 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 }