Newb Newb wrote: > doc = Hpricot.parse(item.description) > imgs = doc.search("//img") > @src_array = imgs.collect{|img|img.attributes["src"]} Instead of the last line, does this work? imgs.each do |img| img.attributes['src'] = nil end > @stories.save Now remember what I said about alternate kinds of images! -- Phlip