diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-02-18 22:21:31 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-02-18 23:17:45 +0900 |
commit | 5c6d6fd30af2208a86f97ce0ca303c6c59700246 (patch) | |
tree | 134bc30c756f3cb7b3d360d96cccdbc887f8c75d /activerecord/test/models/pet_treasure.rb | |
parent | 6516eb774b0d964f824f05a24d71fc3f46e70741 (diff) | |
download | rails-5c6d6fd30af2208a86f97ce0ca303c6c59700246.tar.gz rails-5c6d6fd30af2208a86f97ce0ca303c6c59700246.tar.bz2 rails-5c6d6fd30af2208a86f97ce0ca303c6c59700246.zip |
Association scope's own order should be prioritized over through scope's order
3acc5d6 was changed the order of scope evaluation from through scope to
the association's own scope to be prioritized over the through scope.
But the sorting order will be prioritized that is evaluated first. It is
unintentional effect, association scope's sorting order should be
prioritized as well.
Fixes #32008.
Diffstat (limited to 'activerecord/test/models/pet_treasure.rb')
0 files changed, 0 insertions, 0 deletions