KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Say I have Project , that is in many-to-many association with Tag . I'm using has_many through so I have separate join model. How do I create validation, that checks uniqueness of join model? Now I have only has_many :tags, :through => :taggings, :uniq => true But that doesn't validate on save.
Tags (comma-separated)
Save Edits
Cancel