I'm stuck on getting this many_to_many return the # of records I expect. 
I've determined it's related to the type of JOIN, and the condition in the 
WHERE.

Could anybody give me a hand? I've gone through docs+multiple options and 
not sure what I might have missed. The SQL I expect (and works manually) is 
at bottom of gist in comment.

https://gist.github.com/adam12/dd4620a927b882bdc445777110a8a081

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to