rails/rails — pull request #4905 by Nielsomat (2012-02-06 12:02:47+00:00)
Title: Infinity should be a valid validates_length_of maximum

Allow infinite values for validates_length_of. Particularly useful
for prettily defining an open ended range such as

validates_length_of :human_stupidity, :within => 0..Float::INFINITY