diff --git a/app/models/member.rb b/app/models/member.rb index ebc1ea3d48..e05af156fc 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -49,6 +49,10 @@ class Member < ActiveRecord::Base self.user.name end + def to_s + name + end + # Set the roles for this member to the given roles_or_role_ids. # Inherited roles are left untouched. def assign_roles(roles_or_role_ids)