Skip to content

Commit 3865328

Browse files
committed
Update Changelog
1 parent 2a07001 commit 3865328

14 files changed

+21
-13
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
## master (unreleased)
44

5+
### Bug fixes
6+
7+
* [#843](https://github.com/rubocop/rubocop-rails/issues/843): Fix a false positive for `Rails/ActionControllerFlashBeforeRender` when using `flash` in multiline `if` branch before `redirect_to`. ([@koic][])
8+
* [#841](https://github.com/rubocop/rubocop-rails/issues/841): Fix an error for `Rails/ActionOrder` when using unconventional order of multiple actions. ([@koic][])
9+
* [#838](https://github.com/rubocop/rubocop-rails/issues/838): Fix an incorrect autocorrect for `Rails/ActionOrder` when using unconventional order of actions in conditions. ([@koic][])
10+
* [#867](https://github.com/rubocop/rubocop-rails/pull/867): Fix autocorrection bug when `::Hash` is used on `Rails/IndexBy` and `Rails/IndexWith`. ([@r7kamura][])
11+
* [#848](https://github.com/rubocop/rubocop-rails/issues/848): Fix a false positive for `Rails/FreezeTime` when using `travel_to` with an argument of `Time.new(...).in_time_zone`. ([@koic][])
12+
* [#869](https://github.com/rubocop/rubocop-rails/pull/869): Fix false-positives that non Rails formats are offended on `Rails/ToSWithArgument`. ([@r7kamura][])
13+
* [#866](https://github.com/rubocop/rubocop-rails/pull/866): Fix false-positives when constant is used with receiver on `Rails/DurationArithmetic`, `Rails/IndexBy`, `Rails/IndexWIth`, and `Rails/RequireDependency`. ([@r7kamura][])
14+
* [#850](https://github.com/rubocop/rubocop-rails/pull/850): Fix default configuration for `Rails/I18nLazyLookup`. ([@vlad-pisanov][])
15+
* [#837](https://github.com/rubocop/rubocop-rails/pull/837): Fix incorrect autocorrection of `Rails/ActionOrder` about comments. ([@r7kamura][])
16+
* [#855](https://github.com/rubocop/rubocop-rails/pull/855): Fix Rails/RootPathnameMethods autocorrection for Pathname calls without parens. ([@gsamokovarov][])
17+
* [#868](https://github.com/rubocop/rubocop-rails/pull/868): Support `::` prefixed constants on `Rails/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`, and `Rails/TimeZoneAssignment`. ([@r7kamura][])
18+
* [#865](https://github.com/rubocop/rubocop-rails/pull/865): Support `::Rails` and `::File` on `Rails/FilePath` cop. ([@r7kamura][])
19+
20+
### Changes
21+
22+
* [#862](https://github.com/rubocop/rubocop-rails/pull/862): Ignore if number of arguments does not match on `Rails/DynamicFindBy`. ([@r7kamura][])
23+
524
## 2.17.2 (2022-10-27)
625

726
### Bug fixes
@@ -743,3 +762,5 @@
743762
[@niklas-hasselmeyer]: https://github.com/niklas-hasselmeyer
744763
[@fsateler]: https://github.com/fsateler
745764
[@jdufresne]: https://github.com/jdufresne
765+
[@vlad-pisanov]: https://github.com/vlad-pisanov
766+
[@gsamokovarov]: https://github.com/gsamokovarov

changelog/change_ignore_if_number_of_arguments_does_not_match.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_a_false_positive_for_rails_action_controller_flash_before_render.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_an_error_for_rails_action_order.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_an_incorrect_autocorrect_for_rails_action_order.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_autocorrection_bug_when_hash_is_used_on.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_false_positive_for_rails_freeze_time.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_false_positives_that_non_rails_formats.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_false_positives_when_constant_is_used_with_receiver.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_i18n_lazy_lookup_configuration.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)