Displaying 1 result from an estimated 1 matches for "email_format".
Did you mean:
mail_format
2006 Sep 10
1
validates_format_of :something, :with => /REGEX/
...xt_with_textile_block,
:with => [ textile approved characters ]
OK, you get the picture, now imagine if it was working like this:
validates_format_of :name,
:with => :basic_safe_text # naming could be different,
but...
validates_format_of :email,
:with => :email_format
validates_format_of :url,
:with => :url_format
validates_format_of : basic_text_block,
:with => :basic_text_block_format
validates_format_of :basic_text_with_textile_block,
:with => : basic_text_with_textile_block_format
or
validates_format_of :text,
:i...