سؤال

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