Cop idea: Prefer pluck(:column)
over select(:column).map(&:column)
#1075
Labels
feature request
Request for new functionality
I have some code like this:
It would be nice if Rubocop could suggest the following code:
There also should be some performance improvement since it skips instantiating the model class for matches.
The text was updated successfully, but these errors were encountered: