diff --git a/app/models/person.rb b/app/models/person.rb index e4f5831c..4383e71f 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -18,7 +18,6 @@ class Person < ActiveRecord::Base before_create :generate_guid before_save :set_public_name - before_save :languages_upcase has_attached_file :avatar, :styles => {:tiny => "16x16>", :small => "32x32>", :large => "128x128>"}, @@ -27,10 +26,6 @@ class Person < ActiveRecord::Base alias_attribute :affiliation, :company - def languages_upcase - self.languages = self.languages.upcase if self.languages - end - def to_s if self.public_name.empty? self.first_name + " " + self.last_name