Double comment length limit
This commit is contained in:
parent
a27b1b2648
commit
d6f886fbe2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue