Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

This project is archived and is in readonly mode.

Changeset [cc9742920ccaf8e985fbe5239edb966949eb91c3] by Denis Odorcic

Revision cc9742920ccaf8e985fbe5239edb966949eb91c3, committed 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]
http://github.com/rails/rails/commit/cc9742920ccaf8e985fbe5239edb96...

3 changed files

  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.rb
  • M activerecord/test/models/company.rb