Rescue nil for slug_title

This commit is contained in:
manson 2014-07-30 14:20:29 +08:00
parent 63284212e5
commit da39a029c5
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Diploma
end
def slug_title
self.school_name+' '+self.department+' '+self.degree
[self.school_name,self.department,self.degree].join(' ')
end
protected