automatically rezone items

This commit is contained in:
Emi Matchu 2011-10-23 14:09:53 -05:00
parent 70cf262387
commit f7723ac1c8

View file

@ -203,7 +203,10 @@ class Item < ActiveRecord::Base
where(rels[:swf_asset_id].in(ids_to_delete)).
delete_all
end
@parent_swf_asset_relationships_to_update.each(&:save!)
@parent_swf_asset_relationships_to_update.each do |rel|
rel.save!
rel.swf_asset.save!
end
end
end