Bug fixes
- #1244: Fix a false positive for
Rails/ActionControllerFlashBeforeRender
when returningredirect_to
. (@earlopain) - #1255: Fix an error for
Rails/UniqBeforePluck
withEnforcedStyle: aggressive
when no receiver. (@earlopain) - #1247: Fix an error for
Rails/UnusedIgnoredColumns
when without tables in db/schema.rb. (@koic) - #1253: Fix an error for
Rails/WhereMissing
with leadingwhere
without receiver. (@earlopain) - #1254: Fix an error for
Rails/ExpandedDateRange
when passing an argument only to the first method call for weeks. (@earlopain) - #1256: Fix an error for
Rails/ActiveSupportOnLoad
when calling without arguments. (@earlopain) - #1230: Fix a false positive for
Rails/SaveBang
ifpersisted?
is checked on parenthesised expression. (@earlopain) - #1200: Make
Rails/TimeZone
aware of safe navigation. (@earlopain)
Changes
- #1257: Add Rails 7.1 load hooks and
active_record_sqlite3adapter
toRails/ActiveSupportOnLoad
. (@earlopain)