Displaying 1 result from an estimated 1 matches for "cuneytyilmaz".
2006 Jun 10
2
regex help
I am trying to write a model validates_format_of that will accept a
field containing only certain characters. I want the field to only
allow the following characters:
a-z, A-Z, 0-9 and the ''_'', ''@'', ''.'' and ''-'' characters.
I have hunted around a bit and came up with this:
validates_format_of :password, :with =>