From 468caea4aeb7f91fe4baa1642281131f5f016175 Mon Sep 17 00:00:00 2001 From: Matchu Date: Thu, 12 Oct 2023 21:49:09 -0700 Subject: [PATCH] Oops, fix typo include -> includes --- app/models/item.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/item.rb b/app/models/item.rb index 7ffb4a55..8c171e91 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -562,7 +562,7 @@ class Item < ApplicationRecord # Collect existing relationships existing_relationships_by_item_id_and_swf_asset_id = {} existing_items = scope.where(id: item_ids). - include(:parent_swf_asset_relationships) + includes(:parent_swf_asset_relationships) existing_items.each do |item| items[item.id] = item relationships_by_swf_asset_id = {}