This project is archived and is in readonly mode.

#1078 ✓wontfix
David Stevenson

Using :include => :assoc AND :join => :assoc leads to alias issue

Reported by David Stevenson | September 19th, 2008 @ 11:15 PM | in 2.x

It would be nice if rails aliased tables when it added generated joins to associations. This is very useful when chaining named_scopes, some of which :join a table and others :include a table.

Tests attached, but no fix yet.

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages