From: Raul Jara Date: 2010-03-03T11:54:38+09:00 Subject: Re: Find and replace with values from array with gsub Gah! The last little bit should be: names_links.each_pair do |name, link| @full_text.gsub!(name, link) end results is an array, not a hash, so it wouldn't make much sense to run each pair on it. Sorry about that. I really wish there were a way to edit posts. -- Posted via http://www.ruby-forum.com/.