Mercurial > hg > soundsoftware-site
diff app/models/.svn/text-base/custom_field.rb.svn-base @ 120:cd2282d2aa55 cannam
Merge from the default branch. Note that this is not a valid SVN repository any more (use default, redmine-1.1 etc for SVN updates).
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 14:33:08 +0000 |
parents | 8661b858af72 |
children | cbce1fd3b1b7 |
line wrap: on
line diff
--- a/app/models/.svn/text-base/custom_field.rb.svn-base Thu Jan 13 13:21:03 2011 +0000 +++ b/app/models/.svn/text-base/custom_field.rb.svn-base Thu Jan 13 14:33:08 2011 +0000 @@ -23,7 +23,6 @@ validates_presence_of :name, :field_format validates_uniqueness_of :name, :scope => :type validates_length_of :name, :maximum => 30 - validates_format_of :name, :with => /^[\w\s\.\'\-]*$/i validates_inclusion_of :field_format, :in => Redmine::CustomFieldFormat.available_formats def initialize(attributes = nil)