From 62e4cbd0523f43db1375c9c05f8fb2a963de706b Mon Sep 17 00:00:00 2001 From: Matt-Yorkley Date: Thu, 4 Jan 2018 15:19:56 +0000 Subject: [PATCH] Update rubocop.yml --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 2e664e7c2b..7b1703f343 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -53,6 +53,10 @@ Lint/UselessAssignment: Rails/DynamicFindBy: Enabled: false +# Same as above, #find_by is not available until Rails 4 +Rails/FindBy: + Enabled: false + # This should be the programmer's discretion, perhaps we should review all of # the uses of it an make specific exceptions though. Rails/SkipsModelValidations: