diff options
-rw-r--r-- | app/models/member.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index f7b4038f5..5cf7620de 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -76,6 +76,8 @@ class Member < ActiveRecord::Base if member_roles_to_destroy.any? member_roles_to_destroy.each(&:destroy) end + member_roles.reload + super(ids) end def <=>(member) |