diff --git a/app/models/profile.rb b/app/models/profile.rb index 0879322..ab73f42 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -97,7 +97,7 @@ class Profile < ActiveRecord::Base end def members_by_name - members.order(:name) + members.order('profiles.name') end class << self -- libgit2 0.21.2