This project is archived and is in readonly mode.

#2816 ✓stale
Tim Connor

has_many :through does not respect select clause of scopes

Reported by Tim Connor | June 19th, 2009 @ 12:08 AM | in 3.x

If you have a select clause on a scope, it is overridden by if the scope is on a hmt.

I'm attaching a test for this. If I can, I will try and come up with a fixing patch, but I know the hmt logic has some edge-cases.

Comments and changes to this ticket

  • Jeremy Kemper

    Jeremy Kemper May 4th, 2010 @ 06:48 PM

    • Milestone changed from 2.x to 3.x
  • Rohit Arondekar

    Rohit Arondekar October 9th, 2010 @ 04:04 AM

    • State changed from “new” to “stale”
    • Importance changed from “” to “”

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

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>

Attachments

Tags

Pages