Skip to content

Commit

Permalink
only allow touch to skip validations
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Jan 15, 2022
1 parent 6a80796 commit 07e8cf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .rubocop_rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,5 @@ Rails/WhereExists: # new in 2.7
Rails/WhereNot: # new in 2.8
Enabled: true
Rails/SkipsModelValidations:
Enabled: false
Enabled: true
AllowedMethods: %w[touch]

0 comments on commit 07e8cf7

Please sign in to comment.