Sanitize_properly?

I was reading the section on protecting records from some form
parameters:
Peak Obsession

when showing how to manually set the attributes, they use a
sanitize_properly method which i can’t seem to find in the api or
anywhere. is this old or is that some custom method used in the
example?