From 3020def570631eed31637b503e7f3dc537118724 Mon Sep 17 00:00:00 2001 From: Matchu Date: Sat, 22 Jul 2023 12:36:04 -0700 Subject: [PATCH] Update to new set_table_name syntax --- app/models/parent_swf_asset_relationship.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/parent_swf_asset_relationship.rb b/app/models/parent_swf_asset_relationship.rb index d819618e..2688e3b0 100644 --- a/app/models/parent_swf_asset_relationship.rb +++ b/app/models/parent_swf_asset_relationship.rb @@ -1,5 +1,5 @@ class ParentSwfAssetRelationship < ActiveRecord::Base - set_table_name 'parents_swf_assets' + self.table_name = 'parents_swf_assets' belongs_to :parent, :polymorphic => true