parent
a1e2ac94a4
commit
908d2cb273
@ -1,4 +1,5 @@
|
||||
class MessageDetail < ApplicationRecord
|
||||
belongs_to :message, :touch => true
|
||||
validates :content, length: { maximum: 5000 }
|
||||
|
||||
end
|
||||
|
Loading…
Reference in new issue