Fix current_order's ordergroups document preloading
This commit is contained in:
parent
5928640872
commit
b9bdd04311
2 changed files with 49 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue