Ok, that's worked perfectly for the call... Unfortunately on the server
side I have a member of the same name in an Action Webservice Struct and
it's not liking the
member :"remote-ip", :string
at all...
SyntaxError ((eval):1:in `member': compile error
(eval):1: parse error, unexpected '-', expecting '\n' or ';'
def remote-ip; @remote-ip; end
I guess this might be bug in rails...
thanks for all the help...
Andrew
Andrew Knott wrote:
> Thanks a lot!
>
> Sean O'halpin wrote:
>> On 7/28/06, Andrew Knott <aknott / mac.com> wrote:
>>>
>>>
>>> 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
>>>
>> To include non-identifier characters in a symbol, use the quoted form,
>> i.e. :"remote-ip" => request.remote_ip
>>
>> Regards,
>> Sean
--
Posted via http://www.ruby-forum.com/.