Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

james-abelsoninfo's Profile

GitHub User: james-abelsoninfo

Comments by

Avatar

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.

Avatar

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