Upgrade: Bump rubocop-rails from 2.17.2 to 2.17.3 (#3511)
Upgrade: Bump rubocop-rails from 2.17.2 to 2.17.3 (#3511)

Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from
2.17.2 to 2.17.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop-rails/releases">rubocop-rails's
releases</a>.</em></p>
<blockquote>
<h2>RuboCop Rails 2.17.3</h2>
<p>% cat relnotes/v2.17.3.md</p>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/843">#843</a>:
Fix a false positive for
<code>Rails/ActionControllerFlashBeforeRender</code> when using
<code>flash</code> in multiline <code>if</code> branch before
<code>redirect_to</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/841">#841</a>:
Fix an error for <code>Rails/ActionOrder</code> when using
unconventional order of multiple actions. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/838">#838</a>:
Fix an incorrect autocorrect for <code>Rails/ActionOrder</code> when
using unconventional order of actions in conditions. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/867">#867</a>:
Fix autocorrection bug when <code>::Hash</code> is used on
<code>Rails/IndexBy</code> and <code>Rails/IndexWith</code>. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/848">#848</a>:
Fix a false positive for <code>Rails/FreezeTime</code> when using
<code>travel_to</code> with an argument of
<code>Time.new(...).in_time_zone</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/869">#869</a>:
Fix false-positives that non Rails formats are offended on
<code>Rails/ToSWithArgument</code>. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/866">#866</a>:
Fix false-positives when constant is used with receiver on
<code>Rails/DurationArithmetic</code>, <code>Rails/IndexBy</code>,
<code>Rails/IndexWIth</code>, and <code>Rails/RequireDependency</code>.
(<a href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/850">#850</a>:
Fix default configuration for <code>Rails/I18nLazyLookup</code>. (<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/837">#837</a>:
Fix incorrect autocorrection of <code>Rails/ActionOrder</code> about
comments. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/855">#855</a>:
Fix Rails/RootPathnameMethods autocorrection for Pathname calls without
parens. (<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/868">#868</a>:
Support <code>::</code> prefixed constants on
<code>Rails/ActionControllerFlashBeforeRender</code>,
<code>Rails/ActionControllerTestCase</code>,
<code>Rails/ApplicationController</code>,
<code>Rails/ApplicationJob</code>, <code>Rails/ApplicationMailer</code>,
<code>Rails/ApplicationRecord</code>,
<code>Rails/DotSeparatedKeys</code>, <code>Rails/DynamicFindBy</code>,
<code>Rails/FindEach</code>, <code>Rails/FreezeTime</code>,
<code>Rails/HasManyOrHasOneDependent</code>,
<code>Rails/HelperInstanceVariable</code>,
<code>Rails/MailerName</code>, <code>Rails/MigrationClassName</code>,
<code>Rails/Output</code>,
<code>Rails/ReversibleMigrationMethodDefinition</code>,
<code>Rails/ReversibleMigration</code>, <code>Rails/ShortI18n</code>,
<code>Rails/SkipsModelValidations</code>, and
<code>Rails/TimeZoneAssignment</code>. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/865">#865</a>:
Support <code>::Rails</code> and <code>::File</code> on
<code>Rails/FilePath</code> cop. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/862">#862</a>:
Ignore if number of arguments does not match on
<code>Rails/DynamicFindBy</code>. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md">rubocop-rails's
changelog</a>.</em></p>
<blockquote>
<h2>2.17.3 (2022-11-20)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/843">#843</a>:
Fix a false positive for
<code>Rails/ActionControllerFlashBeforeRender</code> when using
<code>flash</code> in multiline <code>if</code> branch before
<code>redirect_to</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/841">#841</a>:
Fix an error for <code>Rails/ActionOrder</code> when using
unconventional order of multiple actions. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/838">#838</a>:
Fix an incorrect autocorrect for <code>Rails/ActionOrder</code> when
using unconventional order of actions in conditions. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/867">#867</a>:
Fix autocorrection bug when <code>::Hash</code> is used on
<code>Rails/IndexBy</code> and <code>Rails/IndexWith</code>. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/848">#848</a>:
Fix a false positive for <code>Rails/FreezeTime</code> when using
<code>travel_to</code> with an argument of
<code>Time.new(...).in_time_zone</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/869">#869</a>:
Fix false-positives that non Rails formats are offended on
<code>Rails/ToSWithArgument</code>. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/866">#866</a>:
Fix false-positives when constant is used with receiver on
<code>Rails/DurationArithmetic</code>, <code>Rails/IndexBy</code>,
<code>Rails/IndexWIth</code>, and <code>Rails/RequireDependency</code>.
([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/850">#850</a>:
Fix default configuration for <code>Rails/I18nLazyLookup</code>. ([<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/837">#837</a>:
Fix incorrect autocorrection of <code>Rails/ActionOrder</code> about
comments. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/855">#855</a>:
Fix Rails/RootPathnameMethods autocorrection for Pathname calls without
parens. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/868">#868</a>:
Support <code>::</code> prefixed constants on
<code>Rails/ActionControllerFlashBeforeRender</code>,
<code>Rails/ActionControllerTestCase</code>,
<code>Rails/ApplicationController</code>,
<code>Rails/ApplicationJob</code>, <code>Rails/ApplicationMailer</code>,
<code>Rails/ApplicationRecord</code>,
<code>Rails/DotSeparatedKeys</code>, <code>Rails/DynamicFindBy</code>,
<code>Rails/FindEach</code>, <code>Rails/FreezeTime</code>,
<code>Rails/HasManyOrHasOneDependent</code>,
<code>Rails/HelperInstanceVariable</code>,
<code>Rails/MailerName</code>, <code>Rails/MigrationClassName</code>,
<code>Rails/Output</code>,
<code>Rails/ReversibleMigrationMethodDefinition</code>,
<code>Rails/ReversibleMigration</code>, <code>Rails/ShortI18n</code>,
<code>Rails/SkipsModelValidations</code>, and
<code>Rails/TimeZoneAssignment</code>. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/865">#865</a>:
Support <code>::Rails</code> and <code>::File</code> on
<code>Rails/FilePath</code> cop. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/pull/862">#862</a>:
Ignore if number of arguments does not match on
<code>Rails/DynamicFindBy</code>. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/e4f748db71a56a4eec8cb783cd871729b0d8b15a"><code>e4f748d</code></a>
Cut 2.17.3</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/38653289fff90000c08acf66cec1e46cb4557000"><code>3865328</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/2a070014b5655b95509b212c253f4e18722d8c41"><code>2a07001</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/868">#868</a>
from r7kamura/feature/add-cbase-support</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/43acab1b37bde28de6cdcab344884bc870894230"><code>43acab1</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/869">#869</a>
from r7kamura/feature/to-s-false</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/f9a320041e46e61537066843b34886ada094f82d"><code>f9a3200</code></a>
Fix false-positives that non Rails formats are offended on
`Rails/ToSWithArgu...</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/c680d2444c5335d00908d87000b7236867a01a82"><code>c680d24</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/866">#866</a>
from r7kamura/feature/fix-const-nil-cbase</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/319108132d5457a9da62a39d3731387e0cd1c5bc"><code>3191081</code></a>
Fix false-positives when constant is used with receiver</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/3d7228ea8efe9e29cf92741c429895c25330d506"><code>3d7228e</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop-rails/issues/867">#867</a>
from r7kamura/feature/index-method</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/20042f602d0204946709c3d3b8d7dfd5579fbe15"><code>20042f6</code></a>
Support <code>::</code> prefixed constants on some cops</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/53bf6ab2e9502706542fe0a8de3f6c3f91f2f89c"><code>53bf6ab</code></a>
Fix autocorrection bug when <code>::Hash</code> is used on
<code>Rails/IndexBy</code> and `Rails/In...</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop-rails/compare/v2.17.2...v2.17.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-rails&package-manager=bundler&previous-version=2.17.2&new-version=2.17.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>
Co-authored-by: dependabot[bot] <1c358da00a777d4e9898c1280ab801e2df165188@users.noreply.github.com>
TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject