Does a request to
http://localhost:3000/notes.xml?id=5 actually return
a list with just one object? If not, that's your problem. If so,
then there's a bug. Either way, you could also try using the form
Note.find(noteid.value).
Looking at your specific error, and what could have caused the phrase
"0.build()" to execute, it looks like the bug is related to XML
parsing. Could you turn this into a ticket over at
http://code.google.com/p/jester-js/issues/list ?
Thanks,
Eric
On Apr 2, 11:08 pm, Mike Hostetler <
hostetl...@gmail.com> wrote:
> okay, let me show you what I have.
>
> I have a Scaffold in Rails and am trying to post changes with the
> latest Jester. When i try this:
>
> Jester.Resource.model("Note", {"checkNew":true});
> var note = Note.find("first",{id: noteid.value});
> note.save();
>
> I see this in my Firebug:
> GEThttp://localhost:3000/notes/new.xml(165ms)prototype.js (line
> 1222)
> GEThttp://localhost:3000/notes.xml?id=5(212ms)prototype.js (line