rails/activerecord/test/cases/attribute_methods
Eugene Kenny d3599d8aff Use index_by and index_with wherever possible
Using `index_by` or `index_with` is more concise than `each_with_object`
and more performant than `map { ... }.to_h` or `Hash[map { ... }]`.
2020-03-05 01:24:14 +00:00
..
read_test.rb Use index_by and index_with wherever possible 2020-03-05 01:24:14 +00:00