Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lynch <klynch@gmail.com>2011-10-18 02:35:25 +0400
committerKevin Lynch <klynch@gmail.com>2011-10-18 02:35:25 +0400
commita39d0431cb2dec082cd5353f3c212833e49b3490 (patch)
tree1023d2363591df608e2bf3db0777305a4ae73cb9
parent4d37329c732b394dd521a6568be6b7a5b4c3bd68 (diff)
The project name should not be limited to 16 characters. 16 is too short
-rw-r--r--app/models/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 3c07976d24e..2340940ba5f 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -28,7 +28,7 @@ class Project < ActiveRecord::Base
:uniqueness => true,
:format => { :with => /^[a-zA-Z0-9_\-]*$/,
:message => "only letters, digits & '_' '-' allowed" },
- :length => { :within => 3..16 }
+ :length => { :within => 3..255 }
validates :owner,
:presence => true