Posted on July 21, 2008 at 4:30 pm
Avoiding duplicated posting in Rails
I’ve been looking around for a solution for a rather common problem: suppose you have a form that you want to make sure is not double-posted (say, a credit card processing form). Rails offers a javascript tool to avoid double posting by disabling the form (:disable_with parameter on submit_tag). Since the only alternative I could [...]



















