This project is archived and is in readonly mode.
Rails 2.1 : Has Many Through Association and Eager Loading problem
Reported by Karthik Krishnan | October 3rd, 2008 @ 01:04 PM | in 2.x
In a Has Many Through Association, if include option contains the same table name as that of the "THROUGH" table, then when executing :size or :count methods on the association throws "NOT Unique Table/Alias error" while running the sql.
Please find attached zip file containing the necessary files and steps to reproduce the issue.
Please go thru README file for steps.
Comments and changes to this ticket
-
Frederick Cheung December 21st, 2008 @ 10:55 AM
- State changed from new to resolved
Could reproduce on rails 2.1.0 but not on 2.2.2, 2.2.2 or edge
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>