#591: Add change_column check to Rails/ReversibleMigration. (@mattmccormick)
Add remove_reference check to Rails/ReversibleMigration. (@mattmccormick)
#576: Mark Rails/TimeZone as unsafe auto-correction from unsafe. (@koic)
#582: Unmark AutoCorrect: false from Rails/RelativeDateConstant. (@koic)
#580: Unmark AutoCorrect: false from Rails/UniqBeforePluck. (@koic)
RuboCop Rails 2.12.4
Bug fixes
#573: Fix an error for Rails/FindEach when using where with no receiver. (@koic)
RuboCop Rails 2.12.3
Bug fixes
#556: Fix a false positive for Rails/ContentTag when using using the tag method with 3 or more arguments. (@koic)
#551: Fix a false positive for Rails/FindEach when using model.errors.where in Rails 6.1. (@koic)
#543: Fix an error for Rails/ContentTag when tag is not a top-level method. (@koic)
#559: Fix an error for Rails/RelativeDateConstant when using multiple assignment. (@koic)
#553: Fix a false positive for Rails/ReversibleMigration when using t.remove with type option in Rails 6.1. (@koic)
Changes
#546: Exclude app/models by default for Rails/ContentTag. (@koic)
#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)
#591: Add change_column check to Rails/ReversibleMigration. ([@mattmccormick][])
Add remove_reference check to Rails/ReversibleMigration. ([@mattmccormick][])
#576: Mark Rails/TimeZone as unsafe auto-correction from unsafe. ([@koic][])
#582: Unmark AutoCorrect: false from Rails/RelativeDateConstant. ([@koic][])
#580: Unmark AutoCorrect: false from Rails/UniqBeforePluck. ([@koic][])
2.12.4 (2021-10-16)
Bug fixes
#573: Fix an error for Rails/FindEach when using where with no receiver. ([@koic][])
2.12.3 (2021-10-06)
Bug fixes
#556: Fix a false positive for Rails/ContentTag when using using the tag method with 3 or more arguments. ([@koic][])
#551: Fix a false positive for Rails/FindEach when using model.errors.where in Rails 6.1. ([@koic][])
#543: Fix an error for Rails/ContentTag when tag is not a top-level method. ([@koic][])
#559: Fix an error for Rails/RelativeDateConstant when using multiple assignment. ([@koic][])
#553: Fix a false positive for Rails/ReversibleMigration when using t.remove with type option in Rails 6.1. ([@koic][])
Changes
#546: Exclude app/models by default for Rails/ContentTag. ([@koic][])
#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][])
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 commands and options
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)
Bumps rubocop-rails from 2.12.2 to 2.13.0.
Release notes
Sourced from rubocop-rails's releases.
Changelog
Sourced from rubocop-rails's changelog.
Commits
3679845
Cut 2.13.03cae05d
Update Changelog7dabfc7
MarkRails/CompactBlank
as unsafea80ac3b
Merge pull request #598 from koic/add_new_rails_compact_blank_cop37e882f
Suppress a RuboCop offensec7f39c4
[Fix #562] Add newRails/CompactBlank
cop5b230e5
Merge pull request #594 from pirj/introduce-redundant-presence-validation-on-...301c7d4
[Fix #587] Add Rails/RedundantPresenceValidationOnBelongsTo cop584deee
Restore a pull request template entry5eb31b4
Merge pull request #595 from pirj/introduce-gemfile-localDependabot 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 commands and options
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)