📅  最后修改于: 2022-03-11 14:57:00.729000             🧑  作者: Mango
I'm not sure whether or not the issue is related to jquery, but I would suggest
replacing link_to with button_to. link_to should work too, but button_to is
"the safest method to ensure links that cause changes to your data are not triggered
by search bots or accelerators" (source: Rails API doc)