The ridge vents are nailed to the roof on both sides of the ridge.
Ridge vents significantly extend beyond the slit and contain baffles to prevent even wind-driven rain from entering the attic.
Ridge vent pieces prior to nailing.