08.21.2019

Ruby on Rails connect multiple databases

For multiple database connection, you need to add the following codes to the database.yml file. Here, I am giving the example of connecting two databases from a rails application