mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
init project
This commit is contained in:
6
app/models/challenge_question.rb
Normal file
6
app/models/challenge_question.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class ChallengeQuestion < ApplicationRecord
|
||||
belongs_to :challenge_choose
|
||||
|
||||
validates :option_name, length: { maximum: 500, too_long: "不能超过500个字符" }
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user