tracks/config/database.yml.tmpl
Reinier Balt 5dde6403ea add comment in database template on how to configure rails to use your utf8 database.
If you experience ? where you expect é, uncomment this setting in your database.yml
2011-01-11 05:53:15 +01:00

29 lines
649 B
Cheetah

development:
adapter: mysql
database: tracks
# set this if you are storing utf8 in your mysql database to handle strings
# like "Réné".Not needed for sqlite. For PostgreSQL use encoding: unicode
# encoding: utf8
host: localhost
username: root
password:
test: &TEST
adapter: sqlite3
database: ":memory:"
production:
adapter: mysql
database: tracks
# set this if you are storing utf8 in your mysql database to handle strings
# like "Réné".Not needed for sqlite. For PostgreSQL use encoding: unicode
# encoding: utf8
host: localhost
username: root
password:
cucumber:
<<: *TEST
selenium:
<<: *TEST