active_record: Quote numeric values compared to string columns.
mysql2 adapter fixed upstream to delegate quoting of BigDecimal.
Merge pull request #9210 from dylanahsmith/3-0-mysql-quote-numeric

[3.0] active_record: Quote numeric values compared to string columns.