diff --git a/app/models/pet_state.rb b/app/models/pet_state.rb index 667a5c11..63cf8998 100644 --- a/app/models/pet_state.rb +++ b/app/models/pet_state.rb @@ -3,7 +3,7 @@ class PetState < ActiveRecord::Base has_many :contributions, :as => :contributed # in case of duplicates being merged has_many :outfits - has_many :parent_swf_asset_relationships, :foreign_key => 'parent_id', + has_many :parent_swf_asset_relationships, :as => :parent, :autosave => false has_many :swf_assets, :through => :parent_swf_asset_relationships