1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/associations
Ryuta Kamizono 6a617cc61e Fix through association with source/through scope which has joins
If source/through scope references other tables in where/order, we
should explicitly maintain joins in the scope, otherwise association
queries will fail with referenced unknown column.

Fixes #33525.
2020-05-22 04:05:27 +09:00
..
belongs_to_associations_test.rb *_for_alter methods should also takes keyword arguments 2020-01-20 09:15:29 +09:00
bidirectional_destroy_dependencies_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
callbacks_test.rb Fix typo in test name 2020-03-21 20:58:56 +09:00
cascaded_eager_loading_test.rb Avoid extraneous preloading when loading across has_one associations 2020-01-08 08:14:04 +13: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 EagerLoadPolyAssocsTest setup (#38883) 2020-04-07 10:14:17 +09:00
eager_singularization_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
eager_test.rb Use DidYouMean for AssociationNotFoundError 2020-05-17 21:32:19 +02:00
extension_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
has_and_belongs_to_many_associations_test.rb Fix join middle table alias when using HABTM 2019-07-26 23:12:44 +09:00
has_many_associations_test.rb Fix pluck to correctly type cast same column names and association columns 2020-05-13 20:24:42 +09:00
has_many_through_associations_test.rb Fix through association with source/through scope which has joins 2020-05-22 04:05:27 +09:00
has_one_associations_test.rb Fix flakey destroyed_by_association tests 2020-05-04 19:26:54 -05: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 Fix eager load with Arel joins to maintain the original joins order 2020-05-16 10:17:11 +09:00
inverse_associations_test.rb Fix: on accessing the parent record before creation with has_many_inversing adds two records to association 2020-02-20 09:26:47 +01:00
join_model_test.rb Add DidYouMean for HasManyThroughAssociationNotFoundError 2020-05-19 08:27:08 +02:00
left_outer_join_association_test.rb Fix eager load with Arel joins to maintain the original joins order 2020-05-16 10:17:11 +09:00
nested_through_associations_test.rb Fix through association to respect source scope for includes/preload 2020-05-21 07:40:01 +09:00
required_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00