# File lib/cimi/model/volume.rb, line 73 def self.find_to_attach_from_xml(xml_in, context) xml = XmlSimple.xml_in(xml_in) volumes = xml["volume"].map{|v| {:volume => self.find(v["href"].split("/volumes/").last, context), :attachment_point=>v["attachmentPoint"] }} end