This project is archived and is in readonly mode.
Eager association loading sanitizes conditions using the wrong table
-
Will Bryant
For the convenience of anyone who needs to patch this on their project running the released version of rails, here's a backport against your frozen-in vendor/rails 2.1.1.
-
Will Bryant
Erm, ignore the ticket number in that second filename :).
-
Will Bryant
Backported to the 2-1-stable repository, since that's diverged from 2.1.1 release far enough for that not to apply.
-
Repository
(from [7823c50c975df975ca3237bfbe9ca0b3c60f6b6d]) fix eager loading's :condition sanitizing expanding against the wrong table
Signed-off-by: Michael Koziarski michael@koziarski.com [#1101 Eager association loading sanitizes conditions using the wrong table state:commited] http://github.com/rails/rails/co...
-
Frederick Cheung
- Tag changed from 2.1, activerecord, bug, eager_loading, edge, has_many, patch to 2.1, activerecord, bug, eager_loading, edge, has_many, patch
- State changed from new to committed
