Disable Rails/DynamicFindBy

This commit is contained in:
Douwe Maan 2017-02-21 18:33:39 -06:00
parent ccbebbdfeb
commit b3c514eed9
2 changed files with 3 additions and 7 deletions

View File

@ -929,6 +929,9 @@ Performance/RedundantBlockCall:
Performance/RedundantMatch:
Enabled: true
Rails/DynamicFindBy:
Enabled: false
Rails/HttpPositionalArguments:
Enabled: false

View File

@ -38,13 +38,6 @@ RSpec/SingleArgumentMessageChain:
Exclude:
- 'spec/requests/api/internal_spec.rb'
# Offense count: 126
# Cop supports --auto-correct.
# Configuration parameters: Whitelist.
# Whitelist: find_by_sql
Rails/DynamicFindBy:
Enabled: false
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb