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
Jimmy Bourassa 2ea5ff9e13
Use polymorphic_class_for over constantize
This commit fixes 2 cases where `constantize` was used instead of
of calling `polymorphic_class_for` to retrieve the class associated
with a given string for polymorphic `belongs_to`.
2021-09-06 17:16:43 -04:00
..
belongs_to_associations_test.rb Use polymorphic_class_for over constantize 2021-09-06 17:16:43 -04:00
bidirectional_destroy_dependencies_test.rb
callbacks_test.rb
cascaded_eager_loading_test.rb
eager_load_includes_full_sti_class_test.rb
eager_load_nested_include_test.rb
eager_singularization_test.rb
eager_test.rb Clean up checks to see if DidYouMean is defined 2021-07-04 13:43:50 +02:00
extension_test.rb
has_and_belongs_to_many_associations_test.rb
has_many_associations_test.rb Address "NameError: Rails couldn't find a valid model for Club association" 2021-08-05 12:40:19 +09:00
has_many_through_associations_test.rb
has_many_through_disable_joins_associations_test.rb Address FixturesWithForeignKeyViolationsTest#test_does_not_raise_if_no_fk_violations error 2021-08-29 10:57:30 +09:00
has_one_associations_test.rb Address "NameError: Rails couldn't find a valid model for Club association" 2021-08-05 12:40:19 +09:00
has_one_through_associations_test.rb
has_one_through_disable_joins_associations_test.rb
inner_join_association_test.rb
inverse_associations_test.rb Clean up checks to see if DidYouMean is defined 2021-07-04 13:43:50 +02:00
join_model_test.rb Clean up checks to see if DidYouMean is defined 2021-07-04 13:43:50 +02:00
left_outer_join_association_test.rb
nested_through_associations_test.rb
required_test.rb