From b17c64b7ed54548c2ef7c3db38e8992d3fa08454 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 24 Aug 2019 21:14:00 -0500 Subject: raise description limit to 6666 --- app/models/media_attachment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/media_attachment.rb') diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index c8290384b..3efab0aa1 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -144,7 +144,7 @@ class MediaAttachment < ApplicationRecord include Attachmentable validates :account, presence: true - validates :description, length: { maximum: 666 }, if: :local? + validates :description, length: { maximum: 6666 }, if: :local? scope :attached, -> { where.not(status_id: nil).or(where.not(scheduled_status_id: nil)) } scope :unattached, -> { where(status_id: nil, scheduled_status_id: nil) } -- cgit