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/active_record/relation
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
..
batches Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
predicate_builder Consolidate the duplicated code that building range predicate 2019-01-08 16:45:17 +09:00
batches.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
calculations.rb Do not use aliases in GROUP BY clause 2019-07-08 08:46:07 +09:00
delegation.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
finder_methods.rb Merge pull request #36647 from giraffate/fix_exists_with_distinct_and_offset_and_order_in_postgresql 2019-07-11 09:11:01 +09:00
from_clause.rb Refactor Active Record to let Arel manage bind params 2017-07-24 09:07:24 -04:00
merger.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
predicate_builder.rb activerecord: Fix where nil condition on composed_of attribute 2019-01-18 11:10:10 -05:00
query_attribute.rb Don't allow where with invalid value matches to nil values 2019-02-18 16:57:10 +09:00
query_methods.rb Preserve user supplied joins order as much as possible 2019-07-30 04:02:58 +09:00
record_fetch_warning.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
spawn_methods.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
where_clause.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
where_clause_factory.rb Use private attr_reader 2018-02-23 11:10:51 +09:00