Hello, I’m a newbie here… please… can anyone help me about FULL
AJAX ? for example if i’m scaffolding a simple model and controller
for product which only have 1 field for NAME:STRING with the command :
script/generate scaffold Product name:string
and for the generated code I like to turn it into a full ajax app, for
example if i’m click the NEW or EDIT link it will remotely call server
and change the partial of my new empty div without refreshing the full
page, and I think the view is only index.html.erb, so I like to make
ajax magic only in one index view.
I already search a book about how to make In Place Editing, but the
problem all the solution is just for In Place Editing for an old
record not In Place Editing for a new record.
So please help me someone, cause i’m already stuck for about 2 weeks
just how to figure this out in a clean and REST way…thanx