Created
October 31, 2011 21:39
-
-
Save eddorre/1329040 to your computer and use it in GitHub Desktop.
Rails 3.1 Dry database.yml with development as a variable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: &shared | |
adapter: postgresql | |
enconding: utf8 | |
host: localhost | |
pool: 5 | |
username: postgres | |
password: postgres | |
database: myapp_development | |
test: &test | |
<<: *shared | |
database: myapp_test | |
production: | |
<<: *shared | |
database: myapp_production | |
cucumber: | |
<<: *test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment