New features
- #1407: Add new
Rails/MultipleRoutePaths
cop. (@koic) - #1358: Add new
Rails/StrongParametersExpect
cop. (@koic)
Bug fixes
- #1409: Fix an error for
Rails/ReversibleMigration
when callingdrop_table
without any arguments. (@earlopain) - #1397: Fix an incorrect autocorrect for
Rails/TimeZone
when Time.new has a string argument. (@mterada1228) - #1406: Fix autocorrection for
Rails/IndexBy
andRails/IndexWith
whenmap { ... }.to_h
is enclosed in another block. (@franzliedke, @eugeneius) - #1404: Update
Rails/IndexBy
andRails/IndexWith
to support numbered block parameters. (@eugeneius) - #1405: Fix autocorrection for
Rails/IndexWith
when the value is a hash literal without braces. (@koic, @eugeneius) - #1414: Fix
Rails/HttpPositionalArguments
cop false positives with arguments forwarding. (@viralpraxis)