% cat relnotes/v2.17.3.md
Bug fixes
- #843: Fix a false positive for
Rails/ActionControllerFlashBeforeRender
when usingflash
in multilineif
branch beforeredirect_to
. (@koic) - #841: Fix an error for
Rails/ActionOrder
when using unconventional order of multiple actions. (@koic) - #838: Fix an incorrect autocorrect for
Rails/ActionOrder
when using unconventional order of actions in conditions. (@koic) - #867: Fix autocorrection bug when
::Hash
is used onRails/IndexBy
andRails/IndexWith
. (@r7kamura) - #848: Fix a false positive for
Rails/FreezeTime
when usingtravel_to
with an argument ofTime.new(...).in_time_zone
. (@koic) - #869: Fix false-positives that non Rails formats are offended on
Rails/ToSWithArgument
. (@r7kamura) - #866: Fix false-positives when constant is used with receiver on
Rails/DurationArithmetic
,Rails/IndexBy
,Rails/IndexWIth
, andRails/RequireDependency
. (@r7kamura) - #850: Fix default configuration for
Rails/I18nLazyLookup
. (@vlad-pisanov) - #837: Fix incorrect autocorrection of
Rails/ActionOrder
about comments. (@r7kamura) - #855: Fix Rails/RootPathnameMethods autocorrection for Pathname calls without parens. (@gsamokovarov)
- #868: Support
::
prefixed constants onRails/ActionControllerFlashBeforeRender
,Rails/ActionControllerTestCase
,Rails/ApplicationController
,Rails/ApplicationJob
,Rails/ApplicationMailer
,Rails/ApplicationRecord
,Rails/DotSeparatedKeys
,Rails/DynamicFindBy
,Rails/FindEach
,Rails/FreezeTime
,Rails/HasManyOrHasOneDependent
,Rails/HelperInstanceVariable
,Rails/MailerName
,Rails/MigrationClassName
,Rails/Output
,Rails/ReversibleMigrationMethodDefinition
,Rails/ReversibleMigration
,Rails/ShortI18n
,Rails/SkipsModelValidations
, andRails/TimeZoneAssignment
. (@r7kamura) - #865: Support
::Rails
and::File
onRails/FilePath
cop. (@r7kamura)