I would like to be able easily switch database in my rails application. The idea is simple:
- Same codebase for production and demonstration application
- Different database
- Clean minimal implementation
My thought was perhaps based on the hostname im calling my application from, to set the database or are there better options here?
Aucun commentaire:
Enregistrer un commentaire