From 61322fdc99007cec34f68b97edee8767884432ad Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Wed, 6 Oct 2021 19:10:14 +0900 Subject: [PATCH] Update Changelog --- CHANGELOG.md | 13 +++++++++++++ ...clude_models_by_default_for_rails_content_tag.md | 1 - ..._with_timestamps_aware_of_ast_variant_records.md | 1 - .../fix_a_false_positive_for_rails_content_tag.md | 1 - .../fix_a_false_positive_for_rails_find_each.md | 1 - changelog/fix_error_for_rails_content_tag.md | 1 - .../fix_error_for_rails_relative_date_constant.md | 1 - ...false_positive_for_rails_reversible_migration.md | 1 - 8 files changed, 13 insertions(+), 7 deletions(-) delete mode 100644 changelog/change_exclude_models_by_default_for_rails_content_tag.md delete mode 100644 changelog/change_make_create_table_with_timestamps_aware_of_ast_variant_records.md delete mode 100644 changelog/fix_a_false_positive_for_rails_content_tag.md delete mode 100644 changelog/fix_a_false_positive_for_rails_find_each.md delete mode 100644 changelog/fix_error_for_rails_content_tag.md delete mode 100644 changelog/fix_error_for_rails_relative_date_constant.md delete mode 100644 changelog/fix_false_positive_for_rails_reversible_migration.md diff --git a/CHANGELOG.md b/CHANGELOG.md index e2d4137e5b..11d086570b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ ## master (unreleased) +### Bug fixes + +* [#556](https://github.com/rubocop/rubocop-rails/issues/556): Fix a false positive for `Rails/ContentTag` when using using the `tag` method with 3 or more arguments. ([@koic][]) +* [#551](https://github.com/rubocop/rubocop-rails/issues/551): Fix a false positive for `Rails/FindEach` when using `model.errors.where` in Rails 6.1. ([@koic][]) +* [#543](https://github.com/rubocop/rubocop-rails/issues/543): Fix an error for `Rails/ContentTag` when `tag` is not a top-level method. ([@koic][]) +* [#559](https://github.com/rubocop/rubocop-rails/issues/559): Fix an error for `Rails/RelativeDateConstant` when using multiple assignment. ([@koic][]) +* [#553](https://github.com/rubocop/rubocop-rails/pull/553): Fix a false positive for `Rails/ReversibleMigration` when using `t.remove` with `type` option in Rails 6.1. ([@koic][]) + +### Changes + +* [#546](https://github.com/rubocop/rubocop-rails/issues/546): Exclude `app/models` by default for `Rails/ContentTag`. ([@koic][]) +* [#570](https://github.com/rubocop/rubocop-rails/pull/570): Make `Rails/CreateTableWithTimestamps` respect `active_storage_variant_records` table of `db/migrate/*_create_active_storage_tables.active_storage.rb` auto-generated by `bin/rails active_storage:install` even if `created_at` is not specified. ([@koic][]) + ## 2.12.2 (2021-09-11) ### Bug fixes diff --git a/changelog/change_exclude_models_by_default_for_rails_content_tag.md b/changelog/change_exclude_models_by_default_for_rails_content_tag.md deleted file mode 100644 index 46e16c77ce..0000000000 --- a/changelog/change_exclude_models_by_default_for_rails_content_tag.md +++ /dev/null @@ -1 +0,0 @@ -* [#546](https://github.com/rubocop/rubocop-rails/issues/546): Exclude `app/models` by default for `Rails/ContentTag`. ([@koic][]) diff --git a/changelog/change_make_create_table_with_timestamps_aware_of_ast_variant_records.md b/changelog/change_make_create_table_with_timestamps_aware_of_ast_variant_records.md deleted file mode 100644 index 5f7ce322d8..0000000000 --- a/changelog/change_make_create_table_with_timestamps_aware_of_ast_variant_records.md +++ /dev/null @@ -1 +0,0 @@ -* [#570](https://github.com/rubocop/rubocop-rails/pull/570): Make `Rails/CreateTableWithTimestamps` respect `active_storage_variant_records` table of `db/migrate/*_create_active_storage_tables.active_storage.rb` auto-generated by `bin/rails active_storage:install` even if `created_at` is not specified. ([@koic][]) diff --git a/changelog/fix_a_false_positive_for_rails_content_tag.md b/changelog/fix_a_false_positive_for_rails_content_tag.md deleted file mode 100644 index f01cc3b728..0000000000 --- a/changelog/fix_a_false_positive_for_rails_content_tag.md +++ /dev/null @@ -1 +0,0 @@ -* [#556](https://github.com/rubocop/rubocop-rails/issues/556): Fix a false positive for `Rails/ContentTag` when using using the `tag` method with 3 or more arguments. ([@koic][]) diff --git a/changelog/fix_a_false_positive_for_rails_find_each.md b/changelog/fix_a_false_positive_for_rails_find_each.md deleted file mode 100644 index 94154cefe9..0000000000 --- a/changelog/fix_a_false_positive_for_rails_find_each.md +++ /dev/null @@ -1 +0,0 @@ -* [#551](https://github.com/rubocop/rubocop-rails/issues/551): Fix a false positive for `Rails/FindEach` when using `model.errors.where` in Rails 6.1. ([@koic][]) diff --git a/changelog/fix_error_for_rails_content_tag.md b/changelog/fix_error_for_rails_content_tag.md deleted file mode 100644 index a251b464aa..0000000000 --- a/changelog/fix_error_for_rails_content_tag.md +++ /dev/null @@ -1 +0,0 @@ -* [#543](https://github.com/rubocop/rubocop-rails/issues/543): Fix an error for `Rails/ContentTag` when `tag` is not a top-level method. ([@koic][]) diff --git a/changelog/fix_error_for_rails_relative_date_constant.md b/changelog/fix_error_for_rails_relative_date_constant.md deleted file mode 100644 index cd2929ad28..0000000000 --- a/changelog/fix_error_for_rails_relative_date_constant.md +++ /dev/null @@ -1 +0,0 @@ -* [#559](https://github.com/rubocop/rubocop-rails/issues/559): Fix an error for `Rails/RelativeDateConstant` when using multiple assignment. ([@koic][]) diff --git a/changelog/fix_false_positive_for_rails_reversible_migration.md b/changelog/fix_false_positive_for_rails_reversible_migration.md deleted file mode 100644 index 9a6d82a05d..0000000000 --- a/changelog/fix_false_positive_for_rails_reversible_migration.md +++ /dev/null @@ -1 +0,0 @@ -* [#553](https://github.com/rubocop/rubocop-rails/pull/553): Fix a false positive for `Rails/ReversibleMigration` when using `t.remove` with `type` option in Rails 6.1. ([@koic][])