Jacques,

> Is :child_key broken on 0.10, or was I just using it wrong? Seems like
> this should be valid syntax for the through relationship (though
> redundant):

It's actually not a valid argument to a m:m relationship, and I should
probably throw an exception when it is provided.

The :through and :via options are what specify the relationships the
m:m relationship "piggybacks" on top of, and they have their own
child_key properties.  Since a m:m relationships really is a
composition of 2 (or more) relationships, I wasn't sure which of them
the :child_key option would actually apply to.

--

Dan
(dkubb)
--~--~---------~--~----~------------~-------~--~----~
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