I am trying to render a ruby hash in soap format
render :soap => {:notification_response => {:ack => true}}
The generated xml is like
<notification_response>{"ack"=>"false"}</notification_response>
我试图从生成的 resposne 中消除 ruby 哈希,但没有成功。
How to generate xml as
<notification_response><ack>false</ack></notification_response>