I know I have written this before, but now I cannot find it. I want to make sure that my input doesn't contain 'Other...'. I know there's some lookbehind regex that can get that, but I have had nothing but errors when I try to use it in a validates_format_of block. Any suggestions?
I know I have written this before, but now I cannot find it. I want to
make sure that my input doesn't contain 'Other...'. I know there's
some lookbehind regex that can get that, but I have had nothing but
errors when I try to use it in a validates_format_of block. Any
suggestions?
Thanks,
Walter
Write your own validation method that tests that the string doesn't
match /Other\.\.\./.