Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Rails 3.1 Dry Configuration with Dummy Database Field
setup: &setup
adapter: postgresql
enconding: utf8
host: localhost
pool: 5
username: postgres
password: postgres
database: myapp_development
<<: *setup
database: myapp_development
test: &test
<<: *setup
database: myapp_test
<<: *setup
database: myapp_production
<<: *test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment