mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
8 lines
173 B
Ruby
8 lines
173 B
Ruby
class Journals::CreateForm
|
|
include ActiveModel::Model
|
|
|
|
attr_accessor :notes
|
|
|
|
validates :notes, length: { maximum: 65535, too_long: "不能超过65535个字符"}
|
|
end
|