Hi i installed the latest ajaxscaffolding gem and generated a scaffold.
List works fine. Delete deletes, but the update doesn’t show and the
busy
icon spins indefinitely. Pressing new or edit also causes the busy icon
to
spin, but again the ui doesn’t update.
my development.log indicates the request was handled and (using firebug)
I’m
seeing this response:
new Insertion.Top(“message-tbody”, "\n<tr
id=“message-create-1146611248468-row” style=“display:none;”>\n
Create Message
\n\n \n \n \n \n \n\t\n \t\n \t\n
\tCancel \t \n
\t\n \t
I think this ok as well (but not entirely sure).
There are no javascript errors reported in the javascript console or in
firebug.
I pasted my ddl below, if that might help. I’m wondering if there’s
something about the data that could be causing an issue.
I’m using Rails 1.1.2 withFirefox 1.5.0.2 on Windows.
I tried IE 6 as well with the same result.
Any help would be much appreciated.
CREATE TABLE message
(
id serial NOT NULL,
referenced_object int8 NOT NULL,
referenced_object_table char(20) NOT NULL,
title varchar(255) NOT NULL,
message_text text,
deleted bool NOT NULL DEFAULT false,
updated timestamptz NOT NULL DEFAULT now(),
updated_by int8 NOT NULL,
lock_version int4 DEFAULT 0,
CONSTRAINT message_pkey PRIMARY KEY (id)
)