Skip to content

Commit

Permalink
Merge pull request #723 from kkitadate/fix-attribute_default_block_va…
Browse files Browse the repository at this point in the history
…lue-include

Fix include value in `Rails/AttributeDefaultBlockValue`
  • Loading branch information
koic authored Jun 19, 2022
2 parents 9b454fa + 496c633 commit 5190a68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/fix_include_value_in.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#723](https://github.com/rubocop/rubocop-rails/pull/723): Fix include value in `Rails/AttributeDefaultBlockValue`. ([@kkitadate][])
2 changes: 1 addition & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Rails/AttributeDefaultBlockValue:
Enabled: pending
VersionAdded: '2.9'
Include:
- 'models/**/*'
- 'app/models/**/*'

Rails/BelongsTo:
Description: >-
Expand Down

0 comments on commit 5190a68

Please sign in to comment.