On Nov 28, 11:25 am, Hema Gonaboina <[EMAIL PROTECTED]> wrote: > But, I didn't get you.. Can U explain me with example.. I need the xml > only but i am receiving object of class HashWithIndifferentAccess.. so i > am trying to convert into pure Hash and then to xml.. > How to receive the value as xml ? > If it works no need of conversion.. > How to use the @request.body ? > --
Don't know how else to explain it - request.body ( my mistake - the @ there is deprecated) is exactly the bytes that were sent to you. Trying to convert the hash back to xml seems completely circular (and HashWithIndifferentAccess is almost the same as Hash - the only difference is that you can use symbols or strings for the keys and they are considered identical) Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

