Simple TODO list using AJAX and Rails