switching to mysql2 gem to fix utf8 issues in to_json

This commit is contained in:
ioBridge
2011-03-29 01:52:06 -04:00
parent f419ccbcde
commit 1f4a118cc7
3 changed files with 6 additions and 6 deletions

View File

@ -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