Example of AJAX CRUD using Rails