rails/rails — pull request #7282 by xHire (2012-08-07 11:55:35+00:00)
Title: Length validation handles correctly nil. Fix #7180

When nil or empty string are not allowed, they are not valid.