to_sql: add support for emitting SQL subqueries #142

merged 1 commit into from Sep 23, 2012


None yet

2 participants

sunaku commented Sep 22, 2012

Added support for running #to_sql() on an Arel query tree that contains nested subqueries (Arel::SelectManager), which themselves may contain nested subqueries, ad infinitum. 🍰

@tenderlove tenderlove merged commit 08d034a into rails:master Sep 23, 2012
sunaku commented Sep 24, 2012

Thanks for merging this pull @tenderlove !

Would you kindly merge these pulls too? :bowtie:

  • #140 bugfix - some aggregations lacked DISTINCT emission
  • #141 feature - add Arel::SelectManager#projections method

Thanks for your consideration.

sunaku commented Sep 25, 2012

Hooray! They're all merged. Arigatou @tenderlove !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment