aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/record_identifier.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-07-30 02:37:26 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-07-30 04:02:58 +0900
commitb4478ae8bc37c76d0143c2ff99dfc75ef34d2234 (patch)
tree574575b62a0c199242c8ce9c670b641fb114e2d0 /actionview/lib/action_view/record_identifier.rb
parent8d2e75e84cf78123d5b89e7bab727ad7499ddfa4 (diff)
downloadrails-b4478ae8bc37c76d0143c2ff99dfc75ef34d2234.tar.gz
rails-b4478ae8bc37c76d0143c2ff99dfc75ef34d2234.tar.bz2
rails-b4478ae8bc37c76d0143c2ff99dfc75ef34d2234.zip
Preserve user supplied joins order as much as possible
Currently, string joins are always applied as last joins part, and Arel join nodes are always applied as leading joins part (since #36304), it makes people struggled to preserve user supplied joins order. To mitigate this problem, preserve the order of string joins and Arel join nodes either before or after of association joins. Fixes #36761. Fixes #34328. Fixes #24281. Fixes #12953.
Diffstat (limited to 'actionview/lib/action_view/record_identifier.rb')
0 files changed, 0 insertions, 0 deletions