Optimistic locking of ActiveRecord models | Hacker News Reader