rails todo list with ajax