make File.read OpenURI.open().read. This allows for people to reference a remote settings file, which is really handy when using on Heroku.
This pull request is early, as to get feedback on what the most robust way to continue would be. Any feedback would be much appreciated. I really want it to read from a secured S3 bucket or some other password protected file that I could configure in a single Heroku env config.
make File.read OpenURI.open().read. This allows for people to referen…
…ce a remote settings file, which is really handy when using on heroku.
Not a bad idea, no reason not to pull this in. Typically on heroku I like to keep anything sensitive in the config vars. Guess it's all the same.
Thanks, the use case for this is that I don't want everyone one my team to have the production yml file required on their computers if I can help it. I might expand on this pull request in the future FWIW.
Agreed, I actually just merge the config vars into the settings hash at run time. The only people that have access to our heroku app are senior engineers.