This project is archived and is in readonly mode.
Changeset [3eef0977e15d74518673e0bb3a9305cb41682dac] by Jon Leighton
Revision 3eef0977e15d74518673e0bb3a9305cb41682dac,
committed by Jon Leighton
· December 26th, 2010 @ 06:46 PM
Use the through association proxy for operations on the through
record, so that those operations are automatically scoped and
therefore construct_join_attributes does not need to use
construct_owner_attributes.
https://github.com/rails/rails/commit/3eef0977e15d74518673e0bb3a930...
3 changed files
-
M
activerecord/lib/active_record/associations/has_many_through_association.rb -
M
activerecord/lib/active_record/associations/has_one_through_association.rb -
M
activerecord/lib/active_record/associations/through_association_scope.rb