ajax works on delete links generated with erb