Comment on "
Rails validates_length_of and Fixnum
"
by ben — Nov 01
The zipcode regexp should have a second [^\d]*? after \d to match zipcode strings that end with a space or any other non-digit!
Back to "
Rails validates_length_of and Fixnum
"
Copyright © Scott Stevenson 2004-2015
by ben — Nov 01