Displaying 1 result from an estimated 1 matches for "typeapplication".
2008 Sep 04
0
ActiveResource testing
...XML flow.
So this is the code.
Building.new({"name"=>"new-name", "description"=>"new-
description"}).save
and this the error I got is this.
ActiveResource::InvalidRequestError: No response recorded for
<POST: /locations/buildings.xml [Content-Typeapplication/xml]
(<?xml version="1.0" encoding="UTF-8"?>
<building><building><static><name>new-home</name><description>new-
description</description></static></building></building>)>
As I know is not possible to set t...