Merge branch 'new_issue' into dev

This commit is contained in:
gitlabhq 2011-10-28 12:26:25 +03:00
commit 3fa770dd10
12 changed files with 84 additions and 18 deletions

View file

@ -14,9 +14,9 @@ class Issue < ActiveRecord::Base
:presence => true,
:length => { :within => 0..255 }
validates :content,
:presence => true,
:length => { :within => 0..2000 }
#validates :content,
#:presence => true,
#:length => { :within => 0..2000 }
scope :critical, where(:critical => true)
scope :non_critical, where(:critical => false)