active_record: Quote numeric values compared to string columns.
Merge pull request #9207 from dylanahsmith/mysql-quote-numeric

active_record: Quote numeric values compared to string columns.