This project is archived and is in readonly mode.

Changeset [16e93f2c3c3ca37d2bae9801b680b05f75c48c18] by Jon Leighton

December 15th, 2010 @ 07:03 PM

Respect the default_scope on a join model when reading a through association
https://github.com/rails/rails/commit/16e93f2c3c3ca37d2bae9801b680b...

Committed by Jon Leighton

  • 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
  • M activerecord/test/cases/associations/has_many_through_associations_test.rb
  • M activerecord/test/cases/associations/has_one_through_associations_test.rb
  • M activerecord/test/models/author.rb
  • M activerecord/test/models/contract.rb
  • M activerecord/test/models/post.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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>