This project is archived and is in readonly mode.
ActiveRecord::Relation subquery support
Reported by Steve F | February 11th, 2011 @ 07:57 PM | in 3.1
This is twofold.
ActiveRecord::Relation where clauses hash syntax accepts an ActiveRecord::Relation as a value, but it maps the relation to ids when it could just us a subquery. By adding that support we can easily add support for subqueries in general.
I've attached a patch with tests.
I've corresponded with Aaron Patterson a bit and he told me to assign it to him, so I'm doing so.
Comments and changes to this ticket
-
Aaron Patterson February 21st, 2011 @ 06:36 PM
- State changed from new to committed
- Milestone set to 3.1
- Importance changed from to Low
This is applied and pushed to master.
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>