This project is archived and is in readonly mode.

Changeset [cc9742920ccaf8e985fbe5239edb966949eb91c3] by Denis Odorcic

October 30th, 2010 @ 07:24 PM

Convert :primary_key in association to a string before comparing to column names, so that for example :primary_key => :another_pk works as well [#5605 state:resolved]

Committed by Denis Odorcic

  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.rb
  • M activerecord/test/models/company.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=""></a>