fixed error with ascii error for dashboard

This commit is contained in:
gitlabhq 2011-11-03 06:56:26 -04:00
parent 020e1a8eee
commit 3abd977822
6 changed files with 24 additions and 6 deletions

View file

@ -10,6 +10,11 @@ class Issue < ActiveRecord::Base
validates_presence_of :assignee_id
validates_presence_of :author_id
delegate :name,
:email,
:to => :author,
:prefix => true
validates :title,
:presence => true,
:length => { :within => 0..255 }