switching to mysql2 gem to fix utf8 issues in to_json
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
# And be sure to use new-style password hashing:
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
|
||||
development:
|
||||
adapter: mysql
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
reconnect: false
|
||||
database: thingspeak_development
|
||||
@ -29,7 +29,7 @@ development:
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
adapter: mysql
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
reconnect: false
|
||||
database: thingspeak_test
|
||||
@ -40,7 +40,7 @@ test:
|
||||
socket: /var/run/mysqld/mysqld.sock
|
||||
|
||||
production:
|
||||
adapter: mysql
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
reconnect: true
|
||||
database: thingspeak_production
|
||||
|
Reference in New Issue
Block a user