an exercise in Rails ajax submission of a form