Double comment length limit

This commit is contained in:
Raphael Sofaer 2011-02-10 14:12:45 -08:00
parent a27b1b2648
commit d6f886fbe2

View file

@ -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