Skip to content

Instantly share code, notes, and snippets.

@mmay
Created June 3, 2012 18:31
Show Gist options
  • Save mmay/2864508 to your computer and use it in GitHub Desktop.
Save mmay/2864508 to your computer and use it in GitHub Desktop.
Rails config/database.yml for postgres and utf8
development:
adapter: postgresql
encoding: utf8
database: <app_name>_development
pool: 5
timeout: 5000
host: localhost
test:
adapter: postgresql
encoding: utf8
database: <app_name>_test
pool: 5
timeout: 5000
host: localhost
production:
adapter: postgresql
encoding: utf8
database: <app_name>_production
pool: 5
timeout: 5000
host: localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment