I am having an issue with ActiveResource that I hope someone can clear
up for me.
For some reason I can’t get any data passed via the api to persist in
the Database. If I create a new object, assign values to the parameters
and save it, and empty object is created in the db. If I try an update
an existing record the data doesn’t change. I have verified that I can
make changes and add new object via the traditional UI, so I must be
class TestServer < ActiveResource::Base
# ActiveResource needs to know the location
# of the resource we’re connecting to,
# plus the login, if required
self.site = ‘http://localhost:3000’
if have tried both
TS = TestServer.new(:name => “bbbbb”)
TS = TestServer.new
neither seems to work. Can anyone tell me what I am doing wrong here?