Optimistic Locking is a feature to prevent collision when two users are editing the same record. In this episode, we look at adding this feature into a Rails 7 application that is using Turbo.
Using StimulusJS and Turbo, we are able to dynamically update select input with content based on another select input. This allows for a seamless user experience while having a configurable and maintainable backend.
In this episode, we look at several issues around pagination and different kinds of querying that could affect performance when working with large datasets.
Continuing from the previous episode, we look at fixing nested forms when used inside of nested forms as well as gathering responses from the questionnaires.