mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
5 lines
128 B
Ruby
5 lines
128 B
Ruby
class ChartRule < ApplicationRecord
|
|
|
|
validates :content, length: { maximum: 1000, too_long: "不能超过1000个字符" }
|
|
end
|