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
Try using Redis locking and surround your block with something like
Redis.current.lock("#{current_user.id}.action_name") do # Some code end
This is the gem I'm using https://github.com/mlanett/redis-lock