Yeah, that is one method…and then shoot them!!
Seriously, the wife’s nan said something like put pepper down, seems to work for a short while, for some reason, I’m sure I’ve heard about putting lemon/orange juice/peel in the soil too.
We have the problem with snails and slugs now, I scoop them up and lob them as far as i can over peoples gardens!!