@@ -48,7 +48,7 class Project < ActiveRecord::Base | |||
|
48 | 48 | validates_length_of :name, :maximum => 30 |
|
49 | 49 | validates_format_of :name, :with => /^[\w\s\'\-]*$/i |
|
50 | 50 | validates_length_of :description, :maximum => 255 |
|
51 |
validates_length_of :homepage, :maximum => |
|
|
51 | validates_length_of :homepage, :maximum => 60 | |
|
52 | 52 | validates_length_of :identifier, :in => 3..12 |
|
53 | 53 | validates_format_of :identifier, :with => /^[a-z0-9\-]*$/ |
|
54 | 54 |
General Comments 0
You need to be logged in to leave comments.
Login now