Increase comment size limit
This commit is contained in:
parent
d6f886fbe2
commit
0b6375ae63
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 => 1000
|
||||
validates_length_of :text, :maximum => 2500
|
||||
|
||||
serialize :youtube_titles, Hash
|
||||
before_save do
|
||||
|
|
|
|||
Loading…
Reference in a new issue