parent
908d2cb273
commit
8b1e290ec5
@ -1,3 +1,6 @@
|
|||||||
class ChallengeQuestion < ApplicationRecord
|
class ChallengeQuestion < ApplicationRecord
|
||||||
belongs_to :challenge_choose
|
belongs_to :challenge_choose
|
||||||
|
|
||||||
|
validates :option_name, length: { maximum: 500 }
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue