search for: excluded_char

Displaying 1 result from an estimated 1 matches for "excluded_char".

Did you mean: excluded_chars
2006 Sep 10
1
validates_format_of :something, :with => /REGEX/
...; :basic_text_block_format validates_format_of :basic_text_with_textile_block, :with => : basic_text_with_textile_block_format or validates_format_of :text, :included_chars => %w(a-zA-Z0-9 -'';) # some method for specifying which chars we wish to accept :excluded_chars => %w( * & % $ £ ( ) ) # some method for specifying which chars we wish to exclude Now that would result in a collective DRY process that would save thousands of programming hours, be the highlight of a Steve Jobs/DHH special event, as well as improve the safety and security of c...