Displaying 1 result from an estimated 1 matches for "invalidrequesterror".
2008 Sep 04
0
ActiveResource testing
...in the query
string, but if I use the save method, the params will be serialized
into an 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><...