module ParticipantsHelper def mask_ssn(ssn) return '' if ssn.blank? "*****#{ssn[-4..-1]}" end end