News for hackers. Stuff that matters.
Re:Beyond the default Rails environments by purephase on Thursday June 13, 2013 @09:49AM (#5873994)
The custom configuration part of that is the most interesting. Sadly, we have a lot of Rails.env.production? scattered everywhere. I'm not sure I understand the examples DHH provided though.
Re:Beyond the default Rails environments by techscruggs on Thursday June 13, 2013 @09:56AM (#5874017)
He provides a more complete example on the github page: https://github.com/dhh/custom_configuration/
Re:Beyond the default Rails environments by stiff on Thursday June 13, 2013 @11:26AM (#5874539)
I have written a configuration plug-in that I think is slightly better (for example allows local overwriting of the settings, not just per-environment):

https://github.com/jaroslawr/dynamic_configuration