I don't think vanilla arel will help you here.
Of course you could do it in two queries (and take the performance hit
for running two queries instead of one).

On Dec 30, 10:32 pm, Steven Ringo <[email protected]> wrote:
> Gabe,
>
> I can write what you need in one SQL query. If that helps, let me know.
> Perhaps you could translate the SQL into ARel?
>
> Steve

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en.

Reply via email to