Example of AJAX CRUD in Rails