Ignore the question above. The problem was with the in-memory copy. A
simple relad/new query fixes it.

On Aug 5, 12:59 am, Daniel Ribeiro <[email protected]> wrote:
> 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,
> fromhttp://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