rails/rails — pull request #9210 by dylanahsmith (2013-02-07 10:43:53+00:00)
Title: [3.0] active_record: Quote numeric values compared to string columns.

This is a backport of pull #9207 to rails 3.0