Add and apply Performance/Sum rubocop rule

We're not adding it for performance reasons but because it simplifies
the code.
This commit is contained in:
Javi Martín
2021-08-10 00:11:55 +02:00
parent ffc8ed738d
commit e619ca992c
5 changed files with 14 additions and 11 deletions

View File

@@ -217,6 +217,9 @@ Performance/EndWith:
Performance/StartWith:
Enabled: true
Performance/Sum:
Enabled: true
Rails/ActiveRecordCallbacksOrder:
Enabled: true