New features
Bug fixes
- #1390: Fix an incorrect autocorrect for
Rails/SelectMap
whenselect
has no receiver and method chains are used. (@masato-bkn) - #1382: Fix false negatives for
Rails/RedundantActiveRecordAllMethod
when usingall
method in block. (@masato-bkn) - #1397: Fix
Rails/FilePath
cop error onjoin
method with implicit receiver. (@viralpraxis) - #1398: Fix
Rails/FilePath
cop error in case of extra operations inRails.root
interpolation. (@viralpraxis) - #1392: Fix
Rails/FilePath
cop error with rescuedRails.root
. (@viralpraxis)
Changes
- #1388: Modify
Rails/Pluck
to ignoremap/collect
when used inside blocks to prevent potential N+1 queries. (@masato-bkn)