5 lines
126 B
Ruby
5 lines
126 B
Ruby
class Instance < ApplicationRecord
|
|
has_many :pops
|
|
|
|
validates :zone, inclusion: { in: %w[anemos pagos pyros hydatos] }
|
|
end
|