/database-locking

Show how to handle database locks in Rails

Primary LanguageRuby

Database Locking

This repository presents a few scenarios in which database locking is required to guarantee the correctness of the code in case of concurrent requests.

Feel free to check the controllers to see how the logic is implemented. Also, you find tests for most endpoints in bin/.