Double Submit Protection plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install svn://sciwerks.com/home/sciwerks/public_svn/double_submit_protection/
First, restart your server.
To protect your entire application from duplicate post requests (non-ajax) you can put the following code in your application controller.
## application.rb double_submit_protection :method=>:post, :xhr => false, :interval => 60, :flash => {:warning => ‘Double Submit Detected’}, :redirect_to => {:action=>’index’}
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 9 months ago

