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