Are your polymorphic relationships correctly enforced? #195
stevepolitodesign
started this conversation in
Submissions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Learn how to strike a balance between flexibility and data integrity with a partial index and validations.
https://thoughtbot.com/blog/rails-polymorphic-uniqueness-constraints
Beta Was this translation helpful? Give feedback.
All reactions