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

@ -7,6 +7,11 @@ class Note < ActiveRecord::Base
belongs_to :author,
:class_name => "User"
delegate :name,
:email,
:to => :author,
:prefix => true
attr_protected :author, :author_id
validates_presence_of :project