class TestSet < ApplicationRecord # match_rule: 匹配规则: full: 完全匹配, last: 末尾匹配 # validates :input, length: { maximum: 5000 } validates :input, length: { maximum: 5000 } end