admin questions work

This commit is contained in:
Mark Moser committed 2016-08-22 16:26:21 -05:00
1 parent 63701c8247
commit 6bbbaf4580
27 files changed
+349 -51

No files matched your search

+5
View File
@@ -3,4 +3,9 @@ class Question < ApplicationRecord
has_many :answers
belongs_to :quiz
validates_presence_of :quiz_id
validates_presence_of :question
validates_presence_of :category
validates_presence_of :input_type
end