add a max char count to commnets (500)

This commit is contained in:
maxwell 2011-01-13 14:49:17 -08:00
parent b4fae58f12
commit fc09b0fb40

View file

@ -34,6 +34,7 @@ class Comment
belongs_to :person, :class_name => "Person"
validates_presence_of :text, :diaspora_handle, :post
validates_length_of :text, :maximum => 500
validates_with HandleValidator
before_save do