Have you tested this? Rails might also insert an "Are you sure?" JS dialog. Look for a ``data-confirm`` attribute on the element inside the generated HTML