This project is archived and is in readonly mode.
Changeset [9b188c5bfe04349aa8ee0eeb2b53456601b8c3fc] by Steven Fenigstein
Revision 9b188c5bfe04349aa8ee0eeb2b53456601b8c3fc,
committed by Steven Fenigstein
· February 16th, 2011 @ 05:54 PM
removed an unnecessary second query when passing an
ActiveRecord::Relation to a where clause. And added ability to use
subselects in where clauses.
https://github.com/rails/rails/commit/9b188c5bfe04349aa8ee0eeb2b534...
2 changed files
-
M
activerecord/lib/active_record/relation/predicate_builder.rb -
M
activerecord/test/cases/relations_test.rb