An error occurs in Rails/SelectMap
when select receiver is implicit
#1121
Labels
bug
Something isn't working
Rails/SelectMap
when select receiver is implicit
#1121
The error occurs when using select/map with an implicit receiver, i.e inside a model.
Expected behavior
It should have been corrected to:
Actual behavior
An NoMethodError is raised.
Steps to reproduce the problem
The following test case triggers the error:
RuboCop version
The text was updated successfully, but these errors were encountered: