title: Rails: Postgres Database in Heroku (probably dumb questions)
body: <p>I've never really been a database guy. I'm using Postgres and in my database.yml, I have:</p>
  
  <pre><code>test:
    adapter: postgresql
    encoding: unicode
    database: blog_test
    pool: 5
    username: blog
    password: &lt;%= ENV['POSTGRES_PASSWORD'] %&gt;
  development:
    adapter: postgresql
    encoding: unicode
    database: blog_development
    pool: 5
    username: blog
    password: &lt;%= ENV['POSTGRES_PASSWORD'] %&gt;
  production:
    adapter: postgresql
    encoding: unicode
    database: blog_production
    pool: 5
    username: blog
    password: &lt;%= ENV['POSTGRES_PASSWORD'] %&gt;
  </code></pre>
  
  <p>I'm pushing this to heroku soon and just have a few concerns. Here are my questions (they may be dumb questions but I couldn't find anything on google that addresses this in a simple way):</p>
  
  <p><strong>1. Will heroku set this up for me using my herokue password? Should I just leave this file as is?</strong></p>
  
  <p><strong>2. How can I test that my database is secured  by a password?</strong></p>
  
  <p><strong>3. What's the point of even having this file? Am I not the only one that can easily access my Rails files (without hacking ofcourse)?</strong> </p>
  
  <p>Thank you in advance. I'm using postgresapp &amp; am deploying on heroku</p>