This project is archived and is in readonly mode.
Changeset [3fa61ccb9eed0f17cdef85470ae708b4b09a3c06] by Jon Leighton
Revision 3fa61ccb9eed0f17cdef85470ae708b4b09a3c06,
committed by Jon Leighton
· January 30th, 2011 @ 11:58 AM
Has many through - It is not necessary to manually merge in the
conditions hash for the through record, because the creation is
done directly on the through association, which will already handle
setting the conditions.
https://github.com/rails/rails/commit/3fa61ccb9eed0f17cdef85470ae70...
4 changed files
-
M
activerecord/lib/active_record/associations/through_association.rb -
M
activerecord/test/cases/associations/has_many_through_associations_test.rb -
M
activerecord/test/models/club.rb -
M
activerecord/test/models/member.rb