Optimistic locking of ActiveRecord models | Heykuki News