admin views roughed in
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user