From 5ba478339354bdb5b1c61bf258e505d8d331311e Mon Sep 17 00:00:00 2001 From: jomo Date: Fri, 14 Oct 2016 13:26:24 +0200 Subject: adjust max size of thread reply to that of threads, see #11 --- app/models/threadreply.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/threadreply.rb b/app/models/threadreply.rb index 0f2faca..47b0d97 100644 --- a/app/models/threadreply.rb +++ b/app/models/threadreply.rb @@ -10,7 +10,7 @@ class Threadreply < ActiveRecord::Base validates_presence_of :content - validates_length_of :content, in: 2..10000 + validates_length_of :content, in: 2..20000 def thread forumthread -- cgit v1.2.3