Skip to content

Commit

Permalink
Enable Rails/SaveBang
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Thorner committed Jul 10, 2020
1 parent b561f6c commit c4a4329
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ Rails/HasManyOrHasOneDependent:
# little value to many developers.
Rails/OutputSafety:
Enabled: false

# We seldom check the return value of 'update' to see if
# the operation was successful. Since we assume success, we
# should raise an exception if this is not the case.
Rails/SaveBang:
Enabled: true

0 comments on commit c4a4329

Please sign in to comment.