-
-
Notifications
You must be signed in to change notification settings - Fork 285
Closed
Description
Consider:
list.map { |x| x['key'] } # Rails/Pluck suggests list.pluck('key') ✔️
foo do
list.map { |x| x['key'] } # Rails/Pluck doesn't detect an offense ❌
end1.79.2 (using Parser 3.3.9.0, Prism 1.4.0, rubocop-ast 1.46.0, analyzing as Ruby 3.3, running on ruby 3.3.2) [x86_64-darwin24]
- rubocop-minitest 0.38.1
- rubocop-performance 1.25.0
- rubocop-rails 2.32.0
- rubocop-factory_bot 2.27.1
Metadata
Metadata
Assignees
Labels
No labels