mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 17:20:12 +01:00
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
This commit is contained in:
parent
a487b7f32f
commit
5dde6403ea
1 changed files with 6 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
development:
|
development:
|
||||||
adapter: mysql
|
adapter: mysql
|
||||||
database: tracks
|
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
|
host: localhost
|
||||||
username: root
|
username: root
|
||||||
password:
|
password:
|
||||||
|
|
@ -12,6 +15,9 @@ test: &TEST
|
||||||
production:
|
production:
|
||||||
adapter: mysql
|
adapter: mysql
|
||||||
database: tracks
|
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
|
host: localhost
|
||||||
username: root
|
username: root
|
||||||
password:
|
password:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue