Displaying 1 result from an estimated 1 matches for "fooresource".
Did you mean:
bioresource
2009 May 20
1
activeresource-2.3.2 HTTPHeaderSyntaxError
Hi,
I''m upgrading my app from 2.2.2 to 2.3.2 and am having a problem with
ActiveResource.
class FooResource < ActiveResource::Base
self.site = "whatever"
self.element_name = "foo"
end
FooResource.create(:bar => ''baz'')
raises:
Net::HTTPHeaderSyntaxError: wrong Content-Length format
from /usr/local/lib/ruby/1.8/net/http.rb:1334:in...