#database-locking

Race conditions in Ruby what they are and how to avoid them