Yes, you can use it button_to
, but overall it's not a great idea.
The helper button_to
is implemented as the default POST form, which means it is a poor choice for actions that are not idempotent (i.e. regular GET actions). Stick to links as much as possible.
a source
to share