Ah ok, that makes sense. I do think throwing a specific exception here
would be a good idea to make things a bit more clear to people who run
into this.

Thanks

On Sep 24, 11:41 am, "Dan Kubb (dkubb)" <[email protected]> wrote:
> 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