diff options
Diffstat (limited to 'app/models/community.rb')
-rw-r--r-- | app/models/community.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/community.rb b/app/models/community.rb index 3137f09..27a34b2 100644 --- a/app/models/community.rb +++ b/app/models/community.rb @@ -17,7 +17,7 @@ class Community < ActiveRecord::Base - has_many :memberships, -> { order 'id ASC' } + has_many :memberships, -> { order 'memberships.id ASC' } has_many :participants, :through => :memberships has_many :community_messages, :dependent => :destroy has_many :messages, :through => :community_messages |