Is there a way to change the condition so that it is not added to the second join, but rather to the first on the "ON" condition?
I understand that putting it on the second always ensures that the condition has the table referenced, but if you are doing something like a left_join, it will change the result set. It did with me. A simple work around is to do: association_left_join(foo: :bar) instead of association_left_join(:foo_bars), but I don't need the intermediary table. Not a huge deal, but curious if I was missing how to do that when defining the association. Aryk -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/d53243f6-1f05-4f6d-81a5-c71580ff72ee%40googlegroups.com.
