This project is archived and is in readonly mode.
Bug with passing an Arel::Relation into an ActiveResource predicate.
-
James Harton
Patch.
-
Santiago Pastorino
- Milestone cleared.
- Assigned user set to Santiago Pastorino
-
Neeraj Singh
- Tag changed from rails3 arel activeresource bug to rails3 arel activeresource bug, patch
Attached is a test for the patch. Patch works fine.
-
Repository
- State changed from new to resolved
(from [d0df7f1196ee633a0cea7b5b8cf8b65a8269df19]) Fix small bug where ActiveRecord::PredicateBuilder#build_from_hash didn't test for Arel::Relation as right hand value. [#4917 Bug with passing an Arel::Relation into an ActiveResource predicate. state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/d0df7f1196ee633a0cea7b5b8cf8b6...
