This article gives instructions for installing zinc strips at the ridgeline to inhibit moss.
This picture shows nails through the zinc strip:
It looks like they have nailed through the zinc in to the roof. Wouldn't that allow water through the roof?
(Posted for a friend. I don't actually have a roof. :-))