From 22e58a534693bc5b146df9823f8ea86b9dabc37f Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 15 Jan 2018 09:45:31 +0100 Subject: [PATCH] Detect code that could use #present? with rubocop --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index d0a38e509..526ff5ee4 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -579,7 +579,7 @@ Rails/PluralizationGrammar: Enabled: false Rails/Present: - Enabled: false + Enabled: true Rails/ReadWriteAttribute: Enabled: false