few fixes
This commit is contained in:
parent
2daa6161fd
commit
5a5845e490
3 changed files with 10 additions and 9 deletions
|
@ -29,7 +29,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…
Add table
Add a link
Reference in a new issue