On Feb 12, 3:28 pm, "Skye sh...@#$" <[email protected]> wrote:
> When using a STI base class to eager loading a relationship (via a
> join) with similar keys, STI creates a query with an ambiguous
> discriminator column.

This is definitely a bug that should be fixed.

> Here's a patch that qualifies the column before creating the subclass'
> dataset filter:http://pastie.org/822659.txt

Pretty close, but the correct way would be http://pastie.org/822968.txt.
Please test that out and let me know if it works.

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" 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/sequel-talk?hl=en.

Reply via email to