moving out of body
This commit is contained in:
parent
2258db66c2
commit
56d9761844
5 changed files with 21 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue