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