diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-24 21:14:00 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-24 21:14:00 -0500 |
commit | b17c64b7ed54548c2ef7c3db38e8992d3fa08454 (patch) | |
tree | b5e91264c34363c4605fe3bf84d63fde6ac01c78 /app/models | |
parent | ce4d5a2677fbe59bc63c95ccc842569a4d51bd25 (diff) |
raise description limit to 6666
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/media_attachment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |