Skip to content

Instantly share code, notes, and snippets.

@Sporky023
Created August 11, 2011 20:46
Show Gist options
  • Save Sporky023/1140716 to your computer and use it in GitHub Desktop.
Save Sporky023/1140716 to your computer and use it in GitHub Desktop.
validates :tag_id, :uniqueness => {:scope => :post_id}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment