RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: pmueller
You'll want to set the credentials in the environment as shown in the episode, so you can access them using ENV (and so the actual credentials aren't in the code).
As for how to manage the ENV variables, check out http://railscasts.com/episodes/85-yaml-configuration-revised or this gem https://github.com/laserlemon/figaro
You'll want to set the credentials in the environment as shown in the episode, so you can access them using ENV (and so the actual credentials aren't in the code).
As for how to manage the ENV variables, check out http://railscasts.com/episodes/85-yaml-configuration-revised or this gem https://github.com/laserlemon/figaro