Fix current_order's ordergroups document preloading

This commit is contained in:
wvengen 2016-06-04 23:36:11 +02:00
parent 5928640872
commit b9bdd04311
2 changed files with 49 additions and 16 deletions

View file

@ -2,6 +2,7 @@
# Groups organize the User.
# A Member gets the roles from the Group
class Group < ActiveRecord::Base
include FindEachWithOrder
include MarkAsDeletedWithName
has_many :memberships, dependent: :destroy