Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

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
    Stephen Brown commented at 3:55 PM

    I 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
    Stephen Brown created the ticket at 10:04 PM

    validates_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...