The project name should not be limited to 16 characters. 16 is too short
This commit is contained in:
parent
4d37329c73
commit
a39d0431cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue