Well, everything\'s in the title but I\'ll explain a little more :-)
My rails app contain many forms (Ajaxified or not).
To prevent users to submit twice or more
Not sure if this is helpful:
ON SERVERSIDE:
On fresh load of the form, set a session['variable']=false //meaning the form isn't submitted yet.
On form submit, check:
if session['variable'] == true { do nothing... } else { set session['variable'] = true; //do submit logic here }