rails/activerecord/test/cases/associations
Daniel Colson 7f938cacba
Replace test Man with Human
The commit replaces the `Man` model used in tests with a `Human` model. It
also replaces the existing `Human` model with a `SuperHuman` model
inheriting from `Human`.

While this may seem like a cosmetic change, I see it as more of an
inclusivity change. I think it makes sense for a number of reasons:

* Prior to this commit the `Human` model inherited from `Man`. At best
  this makes no sense (it should be the other way around). At worst it
  is offensive and harmful to the community.
* It doesn't seem inclusive to me to have exclusively male-gendered
  examples in the codebase.
* There is no particular reason for these examples to be gendered.
* `man` is hard to grep for, since it also matches `many, manager,
  manual, etc`

For the most part this is a simple search and replace. The one exception
to that is that I had to add the table name to the model so we could use
"humans" instead of "humen".
2020-08-14 11:37:09 -04:00
..
belongs_to_associations_test.rb Fix preloading for polymorphic association with custom scope 2020-05-26 04:07:28 +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 Fix flakey test due to non-deterministic order 2020-07-27 10:53:12 -05:00
extension_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
has_and_belongs_to_many_associations_test.rb Replace test Man with Human 2020-08-14 11:37:09 -04:00
has_many_associations_test.rb Resolve attribute alias for counter cache column 2020-07-06 12:06:01 +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 Move Arel attribute normalization into arel_table 2020-07-19 23:41:24 +09:00
inverse_associations_test.rb Replace test Man with Human 2020-08-14 11:37:09 -04: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