
* User can create programming group with other users for exercise * Submission is shared in a group * Also adjust specs
28 lines
449 B
YAML
28 lines
449 B
YAML
# rails cop settings
|
|
|
|
Rails:
|
|
Enabled: true
|
|
|
|
#
|
|
# False positives:
|
|
# * On embedded models in migrations.
|
|
#
|
|
Rails/ApplicationRecord:
|
|
Exclude:
|
|
- "db/**/*"
|
|
|
|
Rails/UnknownEnv:
|
|
Environments:
|
|
- development
|
|
- staging
|
|
- production
|
|
- test
|
|
|
|
Rails/I18nLazyLookup:
|
|
Enabled: false
|
|
|
|
Rails/DynamicFindBy:
|
|
Whitelist:
|
|
- find_by_sql # Default value for this cop
|
|
- find_by_id_with_type # custom method defined in the `User` model
|