diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-05-30 08:11:05 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-05-30 08:11:05 +0000 |
commit | 09fdc1fcf1fe64447d99f1c5f8b82d5b70208d58 (patch) | |
tree | ed49b5b7c09f6c60e745ab7f6ec0213a5049f98b | |
parent | 84a40b16f18cfa6e00b806ef22628659bf8f67c2 (diff) | |
download | redmine-09fdc1fcf1fe64447d99f1c5f8b82d5b70208d58.tar.gz redmine-09fdc1fcf1fe64447d99f1c5f8b82d5b70208d58.zip |
Merged r14267 (#19840).
git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@14280 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/models/version.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/version.rb b/app/models/version.rb index d13387870..ed5b62812 100644 --- a/app/models/version.rb +++ b/app/models/version.rb @@ -30,6 +30,7 @@ class Version < ActiveRecord::Base validates_presence_of :name validates_uniqueness_of :name, :scope => [:project_id] validates_length_of :name, :maximum => 60 + validates_length_of :description, :maximum => 255 validates :effective_date, :date => true validates_inclusion_of :status, :in => VERSION_STATUSES validates_inclusion_of :sharing, :in => VERSION_SHARINGS |