mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30: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:
|
||||
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:
|
||||
|
|
@ -12,6 +15,9 @@ test: &TEST
|
|||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue