Unexpected behavior with Enumerable#group_by in Ruby 3.1.0 when handling nil values
👀 Views: 3
💬 Answers: 1
📅 Created: 2025-05-31
ruby enumerable group_by nil
I'm encountering an issue with the `Enumerable#group_by` method in Ruby 3.1.0 when my array includes `nil` values. I expect the `nil` values to be grouped toget...