From d6f886fbe2cbd48891f43e4727d1d6724e2ea2a2 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Thu, 10 Feb 2011 14:12:45 -0800 Subject: [PATCH] Double comment length 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 57429e55c..caa093ea4 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 => 500 + validates_length_of :text, :maximum => 1000 serialize :youtube_titles, Hash before_save do