This website requires JavaScript.
Explore
Help
Sign In
ben
/
obdev
Watch
1
Star
0
Fork
You've already forked obdev
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
de03804a8f
obdev
/
app
/
helpers
/
participants_helper.rb
7 lines
132 B
Ruby
Raw
Normal View
History
Unescape
Escape
New Participant page fields edited except for working SSN formatting
2024-01-16 23:10:18 -06:00
module
ParticipantsHelper
Created function to mask SSN in Participant show view. Added to Participant helper.
2024-01-30 16:51:32 -06:00
def
mask_ssn
(
ssn
)
return
''
if
ssn
.
blank?
"
*****
#{
ssn
[
-
4
..
-
1
]
}
"
end
end