문제

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