diff options
author | Matt Jones <al2o3cr@gmail.com> | 2014-02-21 17:58:40 -0500 |
---|---|---|
committer | Matt Jones <al2o3cr@gmail.com> | 2014-02-21 17:58:40 -0500 |
commit | 70a5e5638bfd3b2543bb9d4805cbefec84b6b1ce (patch) | |
tree | a0d586612e71950a8dca78b1aa21ea0a0f0cf83f /activerecord/lib/active_record/associations/preloader/through_association.rb | |
parent | 467cb908dd5f40cbfefe41b93e219682a3ced535 (diff) | |
download | rails-70a5e5638bfd3b2543bb9d4805cbefec84b6b1ce.tar.gz rails-70a5e5638bfd3b2543bb9d4805cbefec84b6b1ce.tar.bz2 rails-70a5e5638bfd3b2543bb9d4805cbefec84b6b1ce.zip |
Pass a base relation to build_default_scope when joining
This allows the default scope to be built using the current table alias.
Resolves #12770
Diffstat (limited to 'activerecord/lib/active_record/associations/preloader/through_association.rb')
0 files changed, 0 insertions, 0 deletions