Redirect ActiveRecord (Rails) reads to replica databases while ensuring all writes go to the primary database.