All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
It is more efficient to replace Hash#merge! with Hash#[]=.
Hash#merge!
Hash#[]=
hash.merge!(a: 1) hash.merge!({'key' => 'value'})
hash[:a] = 1 hash['key'] = 'value'