mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-08 22:14:04 +08:00
init project
This commit is contained in:
4
app/models/chart_rule.rb
Normal file
4
app/models/chart_rule.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class ChartRule < ApplicationRecord
|
||||
|
||||
validates :content, length: { maximum: 1000, too_long: "不能超过1000个字符" }
|
||||
end
|
||||
Reference in New Issue
Block a user