From 500b485b771a789e3e25f58cf33728bff3881f7a Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Wed, 17 Apr 2019 12:30:12 -0500 Subject: [PATCH] Raise invite request text limit. Carry a kobold on tail. --- app/models/user_invite_request.rb | 2 +- config/locales/simple_form.en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/user_invite_request.rb b/app/models/user_invite_request.rb index 2b76c88b9..0632e837d 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: 6666 } end diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml index 06c4b3f52..60add735b 100644 --- a/config/locales/simple_form.en.yml +++ b/config/locales/simple_form.en.yml @@ -149,7 +149,7 @@ en: must_be_following: Block notifications from monsters you aren't in the pack of must_be_following_dm: Block whispers from monsters you aren't in the pack of invite_request: - text: Introduce yourself! What brings you to Monsterpit? + text: Introduce yourself! What brings you to Monsterpit? The last word in this field must be '#kobold' without vowels. notification_emails: digest: Send digest e-mails favourite: Send e-mail when someone admires your roar