Skip to content

Instantly share code, notes, and snippets.

@rubytastic
Created September 28, 2011 13:41
Show Gist options
  • Save rubytastic/1247957 to your computer and use it in GitHub Desktop.
Save rubytastic/1247957 to your computer and use it in GitHub Desktop.
validates :email,
:exclusion => {:in => ["mydomain"],
:message => "is reserved" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment