re: Attaching ribbon to fondant?

I dip the whole ribbon in water and then make sure you squeeze out as much water as you can so it’s only damp….attach it round cake and as it dries it sticks!! Presto!!
I only work with fondant/sugarpaste so not sure if need to do with buttercream….