Skip to content

Instantly share code, notes, and snippets.

@nowk
Created May 27, 2012 13:32
Show Gist options
  • Save nowk/2814221 to your computer and use it in GitHub Desktop.
Save nowk/2814221 to your computer and use it in GitHub Desktop.
locals: &locals
host: localhost
adapter: mysql
username: <username>
password: <password>
pool: 5
timeout: 5000
# socket: /Application/MAMP/tmp/mysql/mysql.sock
development:
database: <database_name>_development
<<: *locals
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test: &test
database: <database_name>_test
<<: *locals
production:
database: <database_name>_production
<<: *locals
cucumber:
database: <database_name>_test
<<: *test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment