Rubocop: Update comment on Rails/DynamicFindBy, justifying Enabled: false

This commit is contained in:
Rob Harrington
2017-06-24 13:37:47 +10:00
parent dfda30f4cb
commit d8a158c56d

View File

@@ -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