Skip to content

Instantly share code, notes, and snippets.

@jxson
Forked from graybill/gist:1144159
Created September 18, 2011 01:09
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 jxson/1224553 to your computer and use it in GitHub Desktop.
Save jxson/1224553 to your computer and use it in GitHub Desktop.
# we should be running psql in dev since heroku does.
default: &DEFAULT
adapter: postgresql
encoding: utf8
min_messages: warning
development:
<<: *DEFAULT
database: tedx_dev
test:
<<: *DEFAULT
database: tedx_test
production:
<<: *DEFAULT
database: tedx_prod
# SQLite version 3.x
# gem install sqlite3
# development:
# adapter: sqlite3
# database: db/development.sqlite3
# pool: 5
# timeout: 5000
# 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:
# adapter: sqlite3
# database: db/test.sqlite3
# pool: 5
# timeout: 5000
# production:
# adapter: sqlite3
# database: db/production.sqlite3
# pool: 5
# timeout: 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment