From 96b154831dfea0357e065fc4d9ba27cae62b7105 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Tue, 19 Jan 2021 01:26:28 -0500 Subject: [PATCH] Added missing group_removed_accounts in AccountInteractions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Added: - missing group_removed_accounts in AccountInteractions --- app/models/concerns/account_interactions.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/concerns/account_interactions.rb b/app/models/concerns/account_interactions.rb index 38c53a82..311afca8 100644 --- a/app/models/concerns/account_interactions.rb +++ b/app/models/concerns/account_interactions.rb @@ -67,6 +67,7 @@ module AccountInteractions has_many :group_accounts, inverse_of: :account, dependent: :destroy, source: :account has_many :groups, through: :group_accounts + has_many :group_removed_accounts, inverse_of: :account, dependent: :destroy, source: :account # Block relationships has_many :block_relationships, class_name: 'Block', foreign_key: 'account_id', dependent: :destroy