Hi, Lincoln Stoll recently gave a presentation about the 12 Factor App at DevOps Melbourne. One of the take-homes from that presentation for me was the idea of using URIs in environment variables to configure environment-specific (vs app specific) parts of the application: http://www.12factor.net/config
For instance, it'd be nice if I could have on my system: DATABASE_URI=mysql://foo:bar@localhost/myDatabase And then keep application specific database config (eg, my locale) to the database.yml. I'm wondering if anybody has implemented this already in a gem, or a gist, or similar. It's relatively trivial to use ERB to do this in your database.yml right now, but seems inelegant. Also, I hate ERB. Just putting that out there. -- Michael Pearson -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
