From 5ee505d42ef91e7159c2e5bcd696734cb1b7369f Mon Sep 17 00:00:00 2001 From: Nilesh Date: Sun, 11 Dec 2022 20:37:37 +0000 Subject: [PATCH] Fix #1236 Increase max length of UserInviteRequest.text from 420 to 5000 --- app/models/user_invite_request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user_invite_request.rb b/app/models/user_invite_request.rb index 2b76c88b9..3f8433e4d 100644 --- a/app/models/user_invite_request.rb +++ b/app/models/user_invite_request.rb @@ -13,5 +13,5 @@ class UserInviteRequest < ApplicationRecord belongs_to :user, inverse_of: :invite_request - validates :text, presence: true, length: { maximum: 420 } + validates :text, presence: true, length: { maximum: 5000 } end