I have a trouble with MySQL select result fields' data type definition -
all fields' type is always string. For example, I call this code:
ActiveRecord::Base.connection.select_all('SELECT COUNT(*) count FROM
The result will always string, but it must be integer. There is the same
problem with all numeric fields of table - they always strings too.
Does anybody know, how to fix this data type definition problem with
MySQL? I have mysql-2.7 gem. Thanks.