Posted about 1 month ago. Visible to the public. Linked content. Auto-destruct in 3 days

Updated: Obtain pessimistic row locks on ActiveRecord objects

Added link to optimistic row locking in ActiveRecord. This does not require you to start a transaction, but raises an exception when trying to save a record that has been changed in the database since it was looked up.

By refactoring problematic code and creating automated tests, makandra can vastly improve the maintainability of your Rails application.

Owner of this card:

Avatar
Henning Koch
Last edit:
about 1 month ago
by Henning Koch
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more