# File lib/cimi/model/machine.rb, line 128 def self.detach_volumes(volumes, context) volumes.each do |vol| context.driver.detach_storage_volume(context.credentials, {:id=>vol[:volume].name, :instance_id => context.params[:id]}) end self.find(context.params[:id], context) end