From d43c6920bfc8660c13f7c3a9f0964dc8cea68307 Mon Sep 17 00:00:00 2001 From: tooyosi Date: Wed, 27 Mar 2024 04:49:37 +0000 Subject: [PATCH] more pr cleanups --- lib/subjects/remover.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/subjects/remover.rb b/lib/subjects/remover.rb index 456aae540..68262698d 100644 --- a/lib/subjects/remover.rb +++ b/lib/subjects/remover.rb @@ -60,7 +60,7 @@ def has_been_collected_or_classified? end def belongs_to_other_subject_set? - return false unless !subject_set_id.nil? + return false if subject_set_id.nil? orphan_subject.set_member_subjects.where.not(subject_set_id: subject_set_id).count.positive? end