What happens if two people submit edits at once
        Posted  
        
            by Karl Entwistle
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Karl Entwistle
        
        
        
        Published on 2010-06-11T22:48:09Z
        Indexed on 
            2010/06/11
            22:53 UTC
        
        
        Read the original article
        Hit count: 233
        
ruby-on-rails
Hi there,
This might be a stupid questions but I wanted to know what happens if two users edit some data at once and then both click submit at the same time, I assumed Rails handled requests one after the other and so someone would get an error message but is this correct?
Thanks
(Once one person has edited data I dont want it to be accessible or editable anymore)
© Stack Overflow or respective owner