development:
  adapter: sqlite3
  database: db/growstuff_dev.sqlite3
  pool: 5
  timeout: 5000

test:
  adapter: sqlite3
  database: db/growstuff_test.sqlite3
  pool: 5
  timeout: 5000

production:
  adapter: postgresql
  database: growstuff_prod
  pool: 5
  timeout: 5000
  username: growstuff
  host: localhost

development:
  adapter: sqlite3
  database: db/growstuff_dev.sqlite3
  pool: 5
  timeout: 5000

test:
  adapter: sqlite3
  database: db/growstuff_test.sqlite3
  pool: 5
  timeout: 5000

production:
  adapter: postgresql
  database: growstuff_prod
  pool: 5
  timeout: 5000
  username: growstuff
  host: localhost
  password: <% begin IO.read("/home/deploy/.db_password") rescue "" end %>

Include password for production from secret file.
Include password for production from secret file.

We read in the file using ERB. See
http://stackoverflow.com/questions/18290/how-do-you-secure-database-yml
