diff options
author | Kevin Lynch <klynch@gmail.com> | 2011-10-17 18:35:25 -0400 |
---|---|---|
committer | Kevin Lynch <klynch@gmail.com> | 2011-10-17 18:35:25 -0400 |
commit | a39d0431cb2dec082cd5353f3c212833e49b3490 (patch) | |
tree | 1023d2363591df608e2bf3db0777305a4ae73cb9 | |
parent | 4d37329c732b394dd521a6568be6b7a5b4c3bd68 (diff) | |
download | gitlab-ce-a39d0431cb2dec082cd5353f3c212833e49b3490.tar.gz |
The project name should not be limited to 16 characters. 16 is too short
-rw-r--r-- | app/models/project.rb | 2 |
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 |