admin views roughed in
This commit is contained in:
1 parent
430097b6ef
commit
63701c8247
29 files changed
+316
-104
No files matched your search
@@ -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