Skip to content

Instantly share code, notes, and snippets.

@nifl
Created October 30, 2012 23:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nifl/3983890 to your computer and use it in GitHub Desktop.
Save nifl/3983890 to your computer and use it in GitHub Desktop.
Database.yml example using defaults for test, production, and cucumber
development: &defaults
adapter: postgresql
encoding: utf8
database: surveys_development
pool: 5
username: john
password: appleseed
test: &test
<<: *defaults
database: surveys_test
production:
<<: *defaults
database: surveys_production
cucumber:
<<: *test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment