Ah, my mistake. I assumed it was talking about my "part" variable when 
it was talking about my reference to post[part.to_s], which returns an 
array. I'm not sure it's the tidiest fix, but I changed this to 
post[part.to_s].to_s, and it works. Well, that part works, now I have 
other issues :-)

> %w{addr1 addr2 city state zip country}.each do |part|
>    puts %{<input type="hidden" name="#{part}" value="#{post[part]}" />}
> end

This looks like one of those things I'm going to have to look up! Thanks 
for the pointer!

-- 
Posted via http://www.ruby-forum.com/.