RailsCasts Pro episodes are now free!

Learn more or hide this

james-abelsoninfo's Profile

GitHub User: james-abelsoninfo

Comments by


So apparently when ENV is set in the console it's not available to the app.

Any suggestions on a way to set the ENV stuff securely? The code is hosted on Github so having the keys in the source code is a no-no.


If I'm setting the ENV['TWITTER_SECRET'] and ENV['TWITTER_KEY'] variables in the console how can I access them in the views?