summaryrefslogtreecommitdiff
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorSaito <saitowu@gmail.com>2011-11-16 16:32:35 +0800
committerSaito <saitowu@gmail.com>2011-11-16 16:32:35 +0800
commit7b5fd145157e1eae18d2721d75330404acc92963 (patch)
tree0841ad78731d073cf89f6dea089c1b03379d9a2d /app/models/issue.rb
parentf294b8d4c3209689dde00326ca6270afa0b4843e (diff)
downloadgitlab-ce-7b5fd145157e1eae18d2721d75330404acc92963.tar.gz
annotate models
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index ac921d7f675..2a880037091 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -19,10 +19,6 @@ class Issue < ActiveRecord::Base
:presence => true,
:length => { :within => 0..255 }
- #validates :content,
- #:presence => true,
- #:length => { :within => 0..2000 }
-
scope :critical, where(:critical => true)
scope :non_critical, where(:critical => false)
@@ -46,7 +42,6 @@ end
#
# id :integer not null, primary key
# title :string(255)
-# content :text
# assignee_id :integer
# author_id :integer
# project_id :integer