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 0255cf94b0 Don't share seen object cache between different join nodes in eager loading
Currently, the seen object cache is shared if join nodes have the same
target class. But it is a wrong assumption, we can't share the seen
object cache between different join nodes (e.g. `:readonly_account` and
`:accounts` have the same target class `Account`, but the instances
have the different state `readonly`).

Fixes #26805.
Closes #27737.
2018-07-03 03:07:59 +09:00
..
belongs_to_associations_test.rb Fix that association's after_touch is not called with counter cache 2018-05-27 12:06:58 +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 Enable Layout/SpaceBeforeComma rubocop rule, and fixed more 2017-12-12 20:00:50 +09:00
eager_load_includes_full_sti_class_test.rb Extract all base_class.name as polymorphic_name 2018-03-04 02:34:00 +09:00
eager_load_nested_include_test.rb try using regexes 2017-11-09 22:42:15 +10:30
eager_singularization_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
eager_test.rb Don't share seen object cache between different join nodes in eager loading 2018-07-03 03:07:59 +09:00
extension_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
has_and_belongs_to_many_associations_test.rb references(:developers_projects_join) isn't needed if using where with hash condition 2018-06-26 04:44:09 +09:00
has_many_associations_test.rb Fix collection.create to could be rolled back by after_save 2018-06-07 06:58:45 +09:00
has_many_through_associations_test.rb Don't use target= 2018-06-11 15:03:32 -04:00
has_one_associations_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
has_one_through_associations_test.rb Using existing models for building multiple has_one through tests 2018-04-22 04:16:44 +09:00
inner_join_association_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
inverse_associations_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +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 "NameError: uninitialized constant Categorization::Category" 2018-02-26 16:20:06 +09:00
nested_through_associations_test.rb Use assert_empty and assert_not_empty 2018-01-25 23:32:59 -05:00
required_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00