Commit a39d0431cb2dec082cd5353f3c212833e49b3490

Authored by Kevin Lynch
1 parent 4d37329c

The project name should not be limited to 16 characters. 16 is too short

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/project.rb
@@ -28,7 +28,7 @@ class Project < ActiveRecord::Base @@ -28,7 +28,7 @@ class Project < ActiveRecord::Base
28 :uniqueness => true, 28 :uniqueness => true,
29 :format => { :with => /^[a-zA-Z0-9_\-]*$/, 29 :format => { :with => /^[a-zA-Z0-9_\-]*$/,
30 :message => "only letters, digits & '_' '-' allowed" }, 30 :message => "only letters, digits & '_' '-' allowed" },
31 - :length => { :within => 3..16 } 31 + :length => { :within => 3..255 }
32 32
33 validates :owner, 33 validates :owner,
34 :presence => true 34 :presence => true