From 21a8a49f50efe3225fcd48a6b23a20cbe9ec9363 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 1 Jul 2024 17:20:05 -0700 Subject: [PATCH] Remove redundant SwfAsset relation Huh, this is just in here twice? Weird. Goodbye! --- app/models/swf_asset.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/swf_asset.rb b/app/models/swf_asset.rb index d1c53ba1..1ba761b2 100644 --- a/app/models/swf_asset.rb +++ b/app/models/swf_asset.rb @@ -15,7 +15,6 @@ class SwfAsset < ApplicationRecord belongs_to :zone has_many :parent_swf_asset_relationships has_one :contribution, :as => :contributed, :inverse_of => :contributed - has_many :parent_swf_asset_relationships before_validation :normalize_manifest_url, if: :manifest_url?