This project is archived and is in readonly mode.

Changeset [1da1ac159f9391b9a053a0fb0d426499b9edd5b7] by Jon Leighton

January 30th, 2011 @ 11:58 AM

Just use primary_key here, AR::Relation will resolve the ambiguity before it is converted to SQL
https://github.com/rails/rails/commit/1da1ac159f9391b9a053a0fb0d426...

Committed by Jon Leighton

  • M activerecord/lib/active_record/associations/association_collection.rb

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>