Displaying 1 result from an estimated 1 matches for "t1295244".
Did you mean:
1255244
2006 Mar 17
0
validates_format_of before type_cast?
...s''] =~
/^(\d+(-|\/)){2}\d{4}/
errors.add(''date_of_loss'', ''use the form: mm/dd/yyyy'')
end
end
Thanks
(BTW: I know there is a date validation plugin)
--
View this message in context: http://www.nabble.com/validates_format_of-before-type_cast--t1295244.html#a3448544
Sent from the RubyOnRails Users forum at Nabble.com.