Merge pull request #8650 from Matt-Yorkley/rubocop-skips-validations

Allow methods which skip callbacks in Rubocop
This commit is contained in:
Maikel
2022-01-12 13:06:46 +11:00
committed by GitHub

View File

@@ -19,6 +19,15 @@ AllCops:
#
# Cop settings that have been agreed upon by the OFN community
Rails/SkipsModelValidations:
AllowedMethods:
- "touch"
- "touch_all"
- "update_all"
- "update_attribute"
- "update_column"
- "update_columns"
Style/Documentation:
Enabled: false