Skip to content

Fix Performance/Detect offences

Igor Drozdov requested to merge id-fix-performance-detect into master

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

Merge request reports

Loading