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 some forms, I use Javascript.
There's my scenario for a Ajaxified form :
Now I want to add server side code to keeps things really clean if the user bypass the javascript.
Any suggestions?
You can add the option :disable_with => "Please Wait..." to the submit tag.