RuboCop Rails 2.25.0
New features
- #1272: Add new
Rails/WhereRange
cop. (@fatkodima)
Bug fixes
- #1270: Fix an incorrect autocorrect for
Rails/Validation
when usingvalidates_size_of
. (@koic) - #1278: Fix a false positive for
Rails/SkipsModelValidations
when usinginsert
orinsert!
with a safe navigator. (@tldn0718) - #1260: Fix a performance regression caused by
Rails/UnknownEnv
when using Rails 7.1. (@lukasfroehlich1)
Changes
- #1249: Disable
Rails/UnusedIgnoredColumns
by default. (@earlopain) - #1266: Check
change_table
calls for offenses. (@ccutrer) - #1267: Make
Rails/HttpStatus
aware of Rails-specific response assertions. (@tldn0718) - #1137: Migrate to
TargetRailsVersion
the newrequires_gem
API. (@amomchilov)