osem-fcy/app/models/vposition.rb

9 lines
166 B
Ruby
Raw Normal View History

class Vposition < ActiveRecord::Base
belongs_to :conference
has_many :vchoices
2014-07-21 14:49:05 +02:00
has_many :vdays, through: :vchoices
validates_presence_of :title, :vdays
end