Example of crud ajax with rails