Part 8: Multi db improvements, Adds basic automatic database switching to Rails by eileencodes · Pull Request #35073 · rails/rails

The following PR adds behavior to Rails to allow an application to automatically switch it's connection from the primary to the replica. A request will be sent to the replica if: The request is a ...