Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

YAML Configuration (revised)

#85 YAML Configuration (revised)

Oct 14, 2012 | 8 minutes | Tools
Keeping passwords and secret tokens in source control is a security risk. Here I show how to move these settings out into a YAML configuration file which can be loaded in as a hash or environment variables.
  • Download:
  • source codeProject Files in Zip (59.4 KB)
  • mp4Full Size H.264 Video (23.4 MB)
  • m4vSmaller H.264 Video (11.7 MB)
  • webmFull Size VP8 Video (12.6 MB)
  • ogvFull Size Theora Video (30.2 MB)