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.
Asked
Active
Viewed 443 times
1 Answers
0
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.

DAddYE
- 1,719
- 11
- 16
-
Padrino's .components file is made for single orm i.e. either mongoid or datamapper. So the Project having multiple orms can not use Model generators. – Jai Madhav Sep 06 '11 at 12:46