This project is archived and is in readonly mode.
fix to eager loading on polymorphic associations
-
Frederick Cheung
is this the problem you were describing in #546 Error in AR::AssociationPreload::ClassMethods#preload_associations when recor... ?
-
acechase
It's a similar problem. In #546 Error in AR::AssociationPreload::ClassMethods#preload_associations when recor... the problem was that the records were not being grouped by class at all. Now, records are being grouped by class appropriately, but the #send that's happening after grouping is using the class the module is being included in, rather than the class the records are from.
-
Jeremy Kemper
- Assigned user set to Jeremy Kemper
- State changed from new to open
- Milestone cleared.
-
Jeremy Kemper
Nice catch. Needs a test case :)
-
Jeremy Kemper
- State changed from open to stale
