Slipping ruler
I don't recall where I heard this suggestion, but I tried it and it works. Purchase a cheap bottle of clear fingernail polish. Paint a strip on the back of the ruler and then sprinkle on table salt. Do one area at a time. I did this about two months ago and the salt is still in place and still working. Cheap and effective.