Autocorrect with Rails/WhereRange
does not work correctly if a space is after the placeholder
#1282
Labels
bug
Something isn't working
As the title suggests,
Rails/WhereRange
offense detection will not work if the placeholder in the where clause contains a space after it.Expected behavior
This code expected to be automatically corrected like below.
Actual behavior
Offenses are not detected and are not automatically corrected.
Steps to reproduce the problem
It can be reproduced by adding a space after the placeholder.
ex)
RuboCop version
The text was updated successfully, but these errors were encountered: