This project is archived and is in readonly mode.

#6305 ✓committed
Paul Sadauskas (Rando)

ARel support for `WITH [RECURSIVE]` queries

Reported by Paul Sadauskas (Rando) | January 17th, 2011 @ 09:52 PM

PostgreSQL docs on performing WITH RECURSIVE queries: http://www.postgresql.org/docs/8.4/static/queries-with.html
This makes it possible to query tree-like tables in a single query.

Examples of the queries: https://gist.github.com/783520

Reference: http://twitter.com/#!/tenderlove/status/27119261860237312

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages