AJAX + Rails question


#1

We display a set of users in a TABLE. The rows have buttons that allow a
user to be Deleted and marked as Super user. When any of these buttons
get clicked, we would like that individual row to be either deleted or
updated to reflect the new status. How do we achieve this using AJAX in
Rails?

Thanks,
Yash


#2

Sounds like a job for the ajax scaffold generator:
http://www.height1percent.com/articles/2006/02/21/on-the-new-ajax-scaffold-generator
Demo here:
http://ajaxscaffold.height1percent.com/