Hi All, I can run the following command from my rails app:
Hash.from_xml(%x{curl -d "admin=true" http://localhost:8888} ) rescue nil
now I want to replace the "admin=true" by a variable If I have x = "admin=true" how can I then write the above command?
Thanks a lot