New features
- #1324: Add
Rails/FindByOrAssignmentMemoization
cop. (@r7kamura) - #1501: Add new cop
Rails/OrderArguments
. (@lovro-bikic)
Bug fixes
- #1497: Fix bugs in
Rails/PluckId
andRails/PluckInWhere
. (@r7kamura) - #1478: Fix a false negative for
Rails/EnvLocal
when having preceding conditions. (@fatkodima) - #1505: Fix false negatives for
Rails/Pluck
whenmap
method call is used in a block without a receiver. (@koic) - #1486: Fix false positives for
Rails/Output
whenp
method is a DSL. (@koic) - #1495: Fix false positives for
Rails/TransactionExitStatement
whenbreak
is used in loop in transactions. (@koic) - #1483: Fix autocorrection error when
Rails/IndexWith
has nested offenses. (@lovro-bikic)