I can verify this is a problem, even in the dkubb/dm-core fork. It
has to do with the way OneToMany::Proxy#first is implemented to handle
one-to-many associations as well as many to many associations. IMHO
this was probably not the best approach, it would've been better to
push the many-to-many logic to the ManyToMany::Proxy object instead.
I think that ultimately this is what will end up happening, unless we
are able to factor the code out and just use what's implemented in
Collection.. which is the ideal end result.
For now you should post a ticket at Lighthouse (http://
) so that it can be fixed in dm-