rails/rails — pull request #6092 by jsanders (2012-04-30 17:39:48+00:00)
Title: Don't type cast values that don't respond to to_i to 1

Fixes #4001.