From 99dcf2ffe51393180df5694dd85c1d927d1d2401 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 20 Sep 2007 18:58:19 +0000 Subject: [PATCH] Fixed: project homepage length validation inconsistent with database field. git-svn-id: http://redmine.rubyforge.org/svn/trunk@745 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/project.rb b/app/models/project.rb index fb5c63fe2..702a896f0 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -48,7 +48,7 @@ class Project < ActiveRecord::Base validates_length_of :name, :maximum => 30 validates_format_of :name, :with => /^[\w\s\'\-]*$/i validates_length_of :description, :maximum => 255 - validates_length_of :homepage, :maximum => 30 + validates_length_of :homepage, :maximum => 60 validates_length_of :identifier, :in => 3..12 validates_format_of :identifier, :with => /^[a-z0-9\-]*$/ -- 2.39.5