mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
7 lines
176 B
Ruby
7 lines
176 B
Ruby
class ChallengeQuestion < ApplicationRecord
|
|
belongs_to :challenge_choose
|
|
|
|
validates :option_name, length: { maximum: 500, too_long: "不能超过500个字符" }
|
|
|
|
end
|