Skip to content

Instantly share code, notes, and snippets.

@ricbermo
Created January 13, 2014 14:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ricbermo/8401727 to your computer and use it in GitHub Desktop.
Save ricbermo/8401727 to your computer and use it in GitHub Desktop.
a better database configuration for rails using postgres
defaults: &defaults
adapter: postgresql
template: template0
host: localhost
development:
<<: *defaults
database: (your_app_name)_development
test: &test
<<: *defaults
min_messages: warning #magic sauce
database: (your_app_name)_test
cucumber:
<<: *test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment