mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
6 lines
185 B
Ruby
6 lines
185 B
Ruby
class MessageDetail < ApplicationRecord
|
|
# belongs_to :message, :touch => true
|
|
validates :content, length: { maximum: 10000, too_long: "内容不能超过10000个字符" }
|
|
|
|
end
|