Bug fixes
- #1647: Fix a false negative for
Rails/EagerEvaluationLogMessagewhen the interpolated string is passed toRails.logger.debugas the sole body of an enclosing block such aseachortap. (@conwayje) - #1646: Fix a false negative for
Rails/ReversibleMigrationwhen usingremove_indexwithout a column inside achange_tableblock. (@ilianah) - #1642: Fix a false negative for
Rails/SafeNavigationwhen usingtry/try!with a symbol to proc such asfoo.try(&:bar). (@koic) - #1599: Fix an incorrect autocorrect for
Rails/LinkToBlankwhenStyle/TrailingCommaInArgumentswithEnforcedStyleForMultiline: consistent_commaadds a trailing comma, which produced a duplicate comma. (@koic) - #1619: Fix
MigratedSchemaVersionsetting so it works for all cops. (@lovro-bikic)