Stephen Brown
Developer · Not a member
Stephen Brown's latest activity
Wednesday, August 27 2008
843
validates_length_of, :is does not work for numbers
was updated
in Ruby on Rails
-
Stephen Brown commented at 3:55 PMI was attempting to use it for checking the length of an account number and sort code. I guess they could both be strings, but the bug is there regardless of my...
Friday, August 15 2008
843
validates_length_of, :is does not work for numbers
was created
in Ruby on Rails
-
Stephen Brown created the ticket at 10:04 PMvalidates_length_of does not work correctly - it compares the storage size instead of the number of characters.
This is because: irb(main):012:0> "123456".size...