Bust relationship cache key (#37760)
This commit is contained in:
3 files changed
+7
-7
No files matched your search
@@ -10,7 +10,7 @@ module RelationshipCacheable
|
||||
private
|
||||
|
||||
def remove_relationship_cache
|
||||
Rails.cache.delete(['relationship', account_id, target_account_id])
|
||||
Rails.cache.delete(['relationship', target_account_id, account_id])
|
||||
Rails.cache.delete(['relationships', account_id, target_account_id])
|
||||
Rails.cache.delete(['relationships', target_account_id, account_id])
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user