# This is a standard ActiveRecord database.yml file. You can configure it 
# to use any database that ActiveRecord supports.

<% secrets = YAML.load_file('secrets/secrets.yml')[ENV['RAILS_ENV']] %>

:adapter:  postgresql
:encoding: unicode
:schema_search_path: public
:pool:     5
timeout: 500
:username: <%= secrets['username'] %>
:password: <%= secrets['db_password'] %>
:allow_concurrency: true
:host:     <%= secrets['db_host'] %>
:database: dcloud_crowd_staging

# This is a standard ActiveRecord database.yml file. You can configure it 
# to use any database that ActiveRecord supports.

<% secrets = YAML.load_file('secrets/secrets.yml')[ENV['RAILS_ENV']] %>

:adapter:  postgresql
:encoding: unicode
:schema_search_path: public
:pool:     5
:timeout: 500
:username: <%= secrets['username'] %>
:password: <%= secrets['db_password'] %>
:allow_concurrency: true
:host:     <%= secrets['db_host'] %>
:database: dcloud_crowd_staging

Use yaml symbol syntax for pool timeout
Use yaml symbol syntax for pool timeout
