rails/rails — pull request #9209 by dylanahsmith (2013-02-07 10:42:26+00:00)
Title: [3.1] active_record: Quote numeric values compared to string columns.

This is a backport of pull #9207 to rails 3.1