rails/activerecord/test/cases/associations
Ryuta Kamizono 20ede2e2e6 Fix merging left_joins to maintain its own join_type context
This fixes a regression for #35864.

Usually, stashed joins (mainly eager loading) are performed as LEFT
JOINs.
But the case of merging joins/left_joins of different class, that
(stashed) joins are performed as the same `join_type` as the parent
context for now.
Since #35864, both (joins/left_joins) stashed joins might be contained
in `joins_values`, so each stashed joins should maintain its own
`join_type` context.

Fixes #36103.
2019-04-27 21:43:57 +09:00
..
belongs_to_associations_test.rb Fix pluck and select with custom attributes 2019-02-13 02:47:46 +09:00
bidirectional_destroy_dependencies_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
callbacks_test.rb Use assert_empty and assert_not_empty 2018-01-25 23:32:59 -05:00
cascaded_eager_loading_test.rb Use assert_queries(0) instead of assert_no_queries to ignore metadata queries 2019-03-26 02:51:03 +00:00
eager_load_includes_full_sti_class_test.rb Fix CI failure due to remaining tagging records 2019-03-26 12:59:16 +09:00
eager_load_nested_include_test.rb Fix automatic_inverse_of not to be disabled if extension block is given 2019-04-12 18:01:57 +09:00
eager_singularization_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
eager_test.rb Fix sliced IN clauses to be grouped 2019-04-24 13:35:42 +09:00
extension_test.rb Make association builder methods private 2019-04-24 02:36:26 +09:00
has_and_belongs_to_many_associations_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
has_many_associations_test.rb Fix automatic_inverse_of not to be disabled if extension block is given 2019-04-12 18:01:57 +09:00
has_many_through_associations_test.rb Merge pull request #32313 from lulalala/model_error_as_object 2019-04-24 16:16:00 -04:00
has_one_associations_test.rb Adds touch option to has_one association 2019-04-25 03:31:34 +09:00
has_one_through_associations_test.rb More exercise singular association query 2018-11-28 03:34:20 +09:00
inner_join_association_test.rb Stash left_joins into joins to deduplicate redundant LEFT JOIN 2019-04-05 06:40:53 +09:00
inverse_associations_test.rb Fix automatic_inverse_of not to be disabled if extension block is given 2019-04-12 18:01:57 +09:00
join_model_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
left_outer_join_association_test.rb Fix merging left_joins to maintain its own join_type context 2019-04-27 21:43:57 +09:00
nested_through_associations_test.rb Fix preloader to never reset associations in case they are already loaded 2019-03-07 16:48:46 +02:00
required_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00