Skip to content

Instantly share code, notes, and snippets.

@adam-phillipps
Created February 29, 2016 01:44
Show Gist options
  • Save adam-phillipps/303f62f7b2da4baabda5 to your computer and use it in GitHub Desktop.
Save adam-phillipps/303f62f7b2da4baabda5 to your computer and use it in GitHub Desktop.
defaults: &defaults
adapter: postgresql
encoding: utf8
pool: 5
timeout: 5000
username: asserta_cust_service
password: "A553r74"
host: <%= ENV.fetch("DATABASE_ADDRESS", "db") %>
port: 5432
development:
<<: *defaults
database: asserta_cust_service_development
test:
<<: *defaults
database: TEST_ENV_NUMBER #<%= ["asserta_cust_service_test", ENV['TEST_ENV_NUMBER']].join %>
production:
<<: *defaults
database: asserta_cust_service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment