openshift/rails-example — pull request #26 by mfojtik (2013-09-24 14:04:10+00:00)
Title: Support for Rails running under development mode in OpenShift

This patch will add support for 'development' database to be set to 'production' db when users
switch the RAILS_ENV variable to 'development'. The ruby development mode pull request is here:

https://github.com/openshift/origin-server/pull/3653

When used locally, the sqlite3 will be chosen by default (as it is now), where if used in OpenShift, the &production configuration will be used.