class Instance < ApplicationRecord has_many :pops validates :zone, inclusion: { in: %w[anemos pagos pyros hydatos] } end