📝
article
rubyflow.com
·
December 3, 2026
Postgres Lock Modes in Rails 8: Avoiding Migration & Row-Lock Outages
A practical guide to how Rails migrations and ActiveRecord locking methods ( with_lock , lock! , SKIP LOCKED ) map to PostgreSQL’s 8 table-level and row-level lock modes—with production pg_locks diagnostic queries.
Read on rubyflow.com →