This project is archived and is in readonly mode.

#3397 ✓stale
Joshua White

establish_connection on through connection does not work

Reported by Joshua White | October 20th, 2009 @ 09:31 PM

The has_many :through breaks when the models aren't all in the same db using establish_connection. I saw there were some updates in rails 2.3.4 so I updated to that and still the problem persists. For now I used a workaround similar to http://www.setfiremedia.com/blog/rails-has-many-through-association...

Is there anyone already building this?

Comments and changes to this ticket

  • Rohit Arondekar

    Rohit Arondekar October 6th, 2010 @ 06:37 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>

Pages