How to configure Multiple Applications in Padrino with each having different Database and ORM Mapper? I referred to this link have got the way to Maintain different Gemfilesfor each App with each having gems of Database they require. But how to do configuration for each Databasem, where I can manage each databases loginid and password, port, etc.

有帮助吗?

解决方案

In config/database.rb you can set all dbs configurations.

Once you do that, supposing that each app have their own models you should be able to work without problems.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top