I use those clear dots that are suppose to make the ruler not slide. I like the idea of the hot glue.
I do find that alot of the slipping has to do with the height of the table you are working at. If I work at my counter (I am short) than I still have alot of slippage. If I use a dining room table where I am higher, I have more control over the ruler.