Commit a39d0431 authored by Kevin Lynch's avatar Kevin Lynch

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

parent 4d37329c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment