Вопрос

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