This project is archived and is in readonly mode.

#1164 ✓resolved
Karthik Krishnan

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

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=""></a>

People watching this ticket