mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
d3599d8aff
Using `index_by` or `index_with` is more concise than `each_with_object` and more performant than `map { ... }.to_h` or `Hash[map { ... }]`. |
||
---|---|---|
.. | ||
read_test.rb |