Added issue description.
This commit is contained in:
parent
8a9e90dac5
commit
94fd9a6e47
4 changed files with 15 additions and 5 deletions
|
@ -24,6 +24,10 @@ class Issue < ActiveRecord::Base
|
|||
validates :title,
|
||||
:presence => true,
|
||||
:length => { :within => 0..255 }
|
||||
|
||||
validates :description,
|
||||
:presence => true,
|
||||
:length => { :within => 0..2000 }
|
||||
|
||||
scope :critical, where(:critical => true)
|
||||
scope :non_critical, where(:critical => false)
|
||||
|
@ -57,6 +61,7 @@ end
|
|||
#
|
||||
# id :integer not null, primary key
|
||||
# title :string(255)
|
||||
# description :text
|
||||
# assignee_id :integer
|
||||
# author_id :integer
|
||||
# project_id :integer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue