From 178a849b277cbb144b5966e677cbf66e602a4239 Mon Sep 17 00:00:00 2001 From: Kat Date: Fri, 12 Nov 2021 10:33:26 +0000 Subject: [PATCH] Rubocop --- app/models/case_log.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/models/case_log.rb b/app/models/case_log.rb index 911e72525..1842dc55a 100644 --- a/app/models/case_log.rb +++ b/app/models/case_log.rb @@ -164,9 +164,7 @@ class CaseLog < ApplicationRecord end def hhmemb - if other_hhmemb.present? - other_hhmemb - end + other_hhmemb.presence end def applicable_income_range