rails/rails — pull request #9208 by dylanahsmith (2013-02-07 10:41:15+00:00)
Title: [3.2] active_record: Quote numeric values compared to string columns.

This is a backport of pull #9207 to rails 3.2