News for hackers. Stuff that matters.
Re:Arel merge, rails' hidden gem by emiller829 on Monday July 09, 2012 @10:44AM (#4218409)
In stock ActiveRecord, you're not going to be able to join a derived table without dropping to SQL. :( Still, if you're looking to constrain results to only the latest, you could use the having clause (with some performance penalty).

There are no comments on this comment yet.