Ruiz is a municipality and the municipal seat of the same located in the north of the Mexican state of Nayarit.