title: How to define custom configuration variables in Rails?
body: <p>I was wondering how to add custom configuration variables to a Rails application and how to access them in the controller?</p>
  <p>Secondly, I was planning to have S3 support for uploads in my application, if I wanted to add a yaml file with the S3 access, secret key, how do I initialize it in my Rails App and how do I access the values that I have defined in that config file.</p>