gems rubocop-rails 2.35.0
RuboCop Rails v2.35.0

3 hours ago

Bug fixes

  • #1595: Fix a false negative for Rails/I18nLocaleTexts when using redirect_back_or_to with a flash message. (@55728)
  • #1587: Fix false positives for Rails/Presence with operator methods like <<, =~, and others. (@eugeneius)
  • #1586: Don't add unnecessary parentheses in Rails/Presence. (@eugeneius)
  • #1602: Fix an error in Rails/SelectMap when .select appears inside a subquery in an argument. (@koic)
  • #1604: Allow DatabaseTypeResolvable to fall back to an adapter configuration specified in a shared key. (@codergeek121)
  • #1582: Fix a false negative where local was incorrectly treated as a known environment name when using == comparison in Rails/UnknownEnv. (@lovro-bikic)

Changes

  • #1571: Add more detection patterns on Rails/ResponseParsedBody. (@r7kamura)
  • #1583: Extend Rails/StrongParametersExpect to detect params[:key] in method calls and raising finder methods. (@koic)
  • #1584: Add support for case statements to Rails/UnknownEnv. (@lovro-bikic)
  • #1592: Fix false negative for != comparison in Rails/UnknownEnv. (@lovro-bikic)
  • #1598: Use glob patterns compatible with Engine or Packwerk for cops targeting spec/ and test/ directories. (@y-yagi)

Don't miss a new rubocop-rails release

NewReleases is sending notifications on new releases.