summaryrefslogtreecommitdiff
path: root/app/models/note.rb
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-27 17:33:20 +0300
committergitlabhq <m@gitlabhq.com>2011-10-27 17:33:20 +0300
commit9611a27e0ca7e800d978d7355dbfb896f6f6cd2c (patch)
tree68c818639ed4d0c2eb311239d1dcd6256063429b /app/models/note.rb
parent5fe736ab2847a5fd7f85363197e3ae0cbfd959e1 (diff)
downloadgitlab-ce-9611a27e0ca7e800d978d7355dbfb896f6f6cd2c.tar.gz
note as text
Diffstat (limited to 'app/models/note.rb')
-rw-r--r--app/models/note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 9dcdbb55114..645bc7cec12 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -13,7 +13,7 @@ class Note < ActiveRecord::Base
validates :note,
:presence => true,
- :length => { :within => 0..255 }
+ :length => { :within => 0..5000 }
validates :attachment,
:file_size => {