Hi,

Is there a validation that ensures that, on a Has Many relation, one
entity does not have another more than once (like: the same boss
employing the same person twice)?

validates_uniqueness_of from dm-valitations does not really work on
Resources that only map many to many relations (such as Friendship,
from http://gist.github.com/313029)

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to