Return to Snippet

Revision: 3473
at July 30, 2007 01:50 by z0rg


Initial Code
    def check_name_syntax
      !!((first_name + last_name).strip =~ /^[a-z '.-]+$/i)
    end

Initial URL

                                

Initial Description

                                

Initial Title
check_name_syntax

Initial Tags
textmate

Initial Language
Rails