title: How to secure database credentials present in database.yml
body: <p>How do I secure connection credentials which are used in <code>config/database.yml</code>. How do I secure username, password, host information for my db settings.</p>
  
  <pre><code>local: &amp;local
    adapter: mysql2
    encoding: utf8
    reconnect: false
    username: foo
    password: bar
    host: localhost
  </code></pre>