to do list with ruby, rails and javascript