How to use Multiple Databases in Rails 6.0

Published: Aug. 27, 2019, 6:19 p.m.

With Rails 6.0, you can now define multiple primary and replica databases, define separate migrations for each primary database, and configure each model to read and write from different databases.