Hyperlinks do not have the ability to submit POSTs (not in any browser that I know of, at least). Forms are usually the best way to POST some data.
What you can do, however, is create a form on your page (with the appropriate methods and fields), then create a hyperlink with an onclick
handler that will submit the form. I'm not familiar with RoR to give you an example, but it should be a trivial change to the standard hyperlink-generating function.
(Note that the onclick handler should return false
to prevent the link itself being followed; and ideally the href
of the hyperlink would go to some acceptable page if people have Javascript disabled.)