Epicodus exercise with Rails and Ajax