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