Validating composite model keys

I know that I should be able to figure this out by looking at the
source, but this “ruby newbie” can’t:

I have a model for a table with a 3-column composite key. Is there a way
to tell the stock validates_uniqueness_of() helper to validate such a
key or do I have to write my own?

Thanks,

Larry

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs