diff --git a/app/models/comment.rb b/app/models/comment.rb index caa093ea42bdb42a5394744398e35adf7693c90f..f4298d14e40a2e6175c09c96317a063e7974d612 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