$ the-wire · showcase
MySQL deadlock fix for find_or_create_by, Asset Pipeline guide rewrite
By RepoJournal · Filed · About Rails · Composed from the cited sources · methodology
Rails moves to close a MySQL deadlock in concurrent find_or_create_by calls while rewriting the Asset Pipeline guide around Propshaft and the developer's actual workflow.
Avoid deadlocks when concurrent find_or_create_by calls read back the… rails/rails
A savepointed INSERT that hits 1062 Duplicate entry leaves InnoDB holding a shared lock on the duplicate index record, and when create_or_find_by re-reads with SELECT ... FOR UPDATE the losers each hold S and each request X, so they deadlock. The patch targets that read-back path for concurrent calls inside MySQL transactions.
[RF-DOCS] Rewrite the Asset Pipeline Guide (#57181) rails/rails
A ground-up rewrite of the Asset Pipeline guide that puts emphasis on how a developer uses the pipeline and Propshaft rather than internal mechanics, after repeated and, per the author, partly wrong detail. Ayush Newatia says the goal was to make it "as concise as I could" and to flow the way a user thinks about the pipeline, and is asking for feedback on the diagram at the top.
Remove redundant markup directives rails/rails
Xavier Noria dropped markup directives from files that already carried one, now that their allowed placement has been relaxed. Documentation markup change only, no runtime effect.
Make ActionController::ParamsWrapper._wrapper_options ractor safe rails/rails
ActionController::ParamsWrapper::Options will freeze deeply and clear its mutex so controller wrapper options can be shared across Ractors, plus a line added to Rails::Application#ractorize!. Relevant if you run a Ractorized app and rely on ParamsWrapper.
Add This Week in Rails for Sept 18 rails/website
The long tail: This Week in Rails for Sept 18 landed on the website, the livestream FAQ gained updated links and quotes, the Rails World 2026 livestream and sponsors post went up, and ai-evals linked its methodology doc to lemans.