Fix Performance/Detect offences
What does this MR do and why?
The cop encourages using .find
instead of select {...}.first
https://www.rubydoc.info/gems/rubocop/0.43.0/RuboCop/Cop/Performance/Detect
The cop encourages using .find
instead of select {...}.first
https://www.rubydoc.info/gems/rubocop/0.43.0/RuboCop/Cop/Performance/Detect