From: Andrew Knott Date: 2006-07-29T00:26:21+09:00 Subject: Using a '-' in a Key name in a Hash Hi, This a ruby question but it comes up in the context of Rails, hope that is OK. I am trying to to consume a web service that has a structure element called 'remote-ip'. (as below) result = server.call("IsValid", {:username=>"me",:password=>"pass",:remote-ip=>request.remote_ip},@formattednumber) This ofcourse doesn't work right now because I can't have a '-' in a key name? Is there any way around this or am I screwed? thanks so much for any help. Andrew -- Posted via http://www.ruby-forum.com/.