From ca32b7877be515f4b62eac9673b60bf5bec7b0be Mon Sep 17 00:00:00 2001 From: samyou-softwire Date: Thu, 19 Feb 2026 14:45:52 +0000 Subject: [PATCH] fixup! CLDC-4143: Update gender retirement validations improve gender comment wording --- app/models/validations/soft_validations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/validations/soft_validations.rb b/app/models/validations/soft_validations.rb index 065da7d93..81e403846 100644 --- a/app/models/validations/soft_validations.rb +++ b/app/models/validations/soft_validations.rb @@ -283,7 +283,7 @@ private if form.start_year_2026_or_later? !person_is_male(person_number) else - # non male wording only came later, originally was specific to female gender + # the "non-male" wording was introduced in the 26/27 collection year, before that this behavior was limited to female gender only public_send("sex#{person_number}") == "F" end end