admin views roughed in

This commit is contained in:
Mark Moser
2016-08-18 18:22:57 -05:00
parent 430097b6ef
commit 63701c8247
29 changed files with 316 additions and 104 deletions

View File

@ -2,6 +2,7 @@ class Quiz < ApplicationRecord
has_many :questions, -> { order(:sort) }
has_many :candidates
validates_presence_of :name
validates_presence_of :dept
validates_presence_of :unit
end