This project is archived and is in readonly mode.
Changeset [f0b98050296b57d95dbc789f8e52fa82499d151a] by Jon Leighton
Revision f0b98050296b57d95dbc789f8e52fa82499d151a,
committed by Jon Leighton
· February 18th, 2011 @ 12:00 AM
Ensure that association_ids uses the correct attribute where the
association is a has_many :through with a :primary_key option on
the source reflection. [#6376 state:resolved]
https://github.com/rails/rails/commit/f0b98050296b57d95dbc789f8e52f...
4 changed files
-
M
activerecord/lib/active_record/associations.rb -
M
activerecord/lib/active_record/reflection.rb -
M
activerecord/test/cases/associations/has_many_through_associations_test.rb -
M
activerecord/test/models/post.rb