• R
    Preserve user supplied joins order as much as possible · b4478ae8
    Ryuta Kamizono 提交于
    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.
    b4478ae8
query_methods.rb 45.3 KB