Skip to content

RuboCop Rails v2.33.0

Choose a tag to compare

@github-actions github-actions released this 10 Aug 03:27
· 72 commits to master since this release

New features

Bug fixes

  • #1497: Fix bugs in Rails/PluckId and Rails/PluckInWhere. (@r7kamura)
  • #1478: Fix a false negative for Rails/EnvLocal when having preceding conditions. (@fatkodima)
  • #1505: Fix false negatives for Rails/Pluck when map method call is used in a block without a receiver. (@koic)
  • #1486: Fix false positives for Rails/Output when p method is a DSL. (@koic)
  • #1495: Fix false positives for Rails/TransactionExitStatement when break is used in loop in transactions. (@koic)
  • #1483: Fix autocorrection error when Rails/IndexWith has nested offenses. (@lovro-bikic)

Changes

  • #1500: Exclude controllers and mailers from Lint/UselessMethodDefinition. (@r7kamura)
  • #1474: Make Rails/EnumSyntax include the lib directory by default. (@koic)
  • #1463: Mark Rails/IndexWith as unsafe autocorrect. (@tejasbubane)