You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
SELECT * FROM user LEFT OUTER JOIN user_deal_notification ON user_deal_notification.user_id == user.id AND user_deal_notification.deal_id = 1234 WHERE user_deal_notification.id IS NOT NULL
How do I do this with Squeel?
The text was updated successfully, but these errors were encountered:
Some googling told me that ARel doesn't like subqueries?
I'd really prefer if there was some easy way to just specify additional ON conditions.. I'm going to revert to using a join(string) which is slightly disappointing.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'd like to generate a query like:
How do I do this with Squeel?
The text was updated successfully, but these errors were encountered: