1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Ryuta Kamizono b4478ae8bc 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.
2019-07-30 04:02:58 +09:00
..
active_record Preserve user supplied joins order as much as possible 2019-07-30 04:02:58 +09:00
arel Enabled matches_regex for MySql 2019-07-29 15:53:29 +01:00
rails/generators Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
active_record.rb Refactor Relation#cache_key is moved from CollectionCacheKey#collection_cache_key 2019-04-04 13:18:59 +09:00
arel.rb Remove unused Arel::Attributes.for 2019-06-15 23:59:41 +09:00