640 characters ought to be enough for anybody

This commit is contained in:
Mike Barnes 2023-07-09 21:56:08 +10:00
commit 7553f462c4
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class StatusLengthValidator < ActiveModel::Validator
MAX_CHARS = 500
MAX_CHARS = 640
URL_PLACEHOLDER_CHARS = 23
URL_PLACEHOLDER = 'x' * 23