Merged r1503 from trunk.

git-svn-id: http://redmine.rubyforge.org/svn/branches/0.7-stable@1531 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-06-14 12:12:17 +00:00
parent 6f6f1f1ba3
commit 9c5ec2974d
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -23,7 +23,6 @@ class Enumeration < ActiveRecord::Base
validates_presence_of :opt, :name
validates_uniqueness_of :name, :scope => [:opt]
validates_length_of :name, :maximum => 30
validates_format_of :name, :with => /^[\w\s\'\-]*$/i
OPTIONS = {
"IPRI" => :enumeration_issue_priorities,