Is there a way to simply do a left outer join using rails ActiveRecord?
I see here there are some ways using raw SQL, but I'd like to use the 'rails way' (presuming there is a rails way)
i.e. a query to retrieve the records represented by the maroon area:
Why not use raw SQL (like here) - that's a fair question. My app has no raw sql, only syntax of the form customer.purchases
so I'd like to keep the code consistence across the app.