admin questions work
This commit is contained in:
1 parent
63701c8247
commit
6bbbaf4580
27 files changed
+349
-51
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user