mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-21 05:09:15 +00:00
Rubocop: Update comment on Rails/DynamicFindBy, justifying Enabled: false
This commit is contained in:
@@ -42,7 +42,8 @@ Lint/UselessAssignment:
|
||||
Exclude:
|
||||
- spec/**/*
|
||||
|
||||
# No alternative to this one until we upgrade to Rails 4 and can use #find_by
|
||||
# AFAIK, there is no good alternative to dynamic matchers until we upgrade
|
||||
# to Rails 4 and can use #find_by. If there is a better approach, let's do it.
|
||||
Rails/DynamicFindBy:
|
||||
Enabled: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user