title: Custom rails configuration section
body: <p>what's the best way to create a custom configuration section for a rails app? ideally i'd like the end result to be an api call like:</p>
  
  <pre><code>Rails.configuration.foo.bar
  Rails.configuration.foo.baz
  </code></pre>
  
  <p>e.g.</p>
  
  <pre><code>Rails.configuration.stackoverflow.api_key
  Rails.configuration.stackoverflow.api_secret
  </code></pre>
  
  <p>and i would store the stackoverflow configuration in some .rb file (config/initializers?) and i would obviously have others that are similarly namespaced within <code>Rails.configuration</code></p>