From 0b6375ae63e63c8c2afda545574d0535b93373ea Mon Sep 17 00:00:00 2001
From: Raphael Sofaer <raphael@joindiaspora.com>
Date: Thu, 10 Feb 2011 15:50:59 -0800
Subject: [PATCH] Increase comment size limit

---
 app/models/comment.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/comment.rb b/app/models/comment.rb
index caa093ea42..f4298d14e4 100644
--- a/app/models/comment.rb
+++ b/app/models/comment.rb
@@ -22,7 +22,7 @@ class Comment < ActiveRecord::Base
   belongs_to :person
 
   validates_presence_of :text, :post
-  validates_length_of :text, :maximum => 1000
+  validates_length_of :text, :maximum => 2500
 
   serialize :youtube_titles, Hash
   before_save do
-- 
GitLab