<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ractor-ready-rails-ordered-cache-fetches-and-more--kcwkohnhj" -->

---
title: Ractor-ready Rails, ordered cache fetches, and more!
description: Weekly Rails changelog roundup covering ongoing Ractor-readiness work (shareable controller configuration, Action View settings, Active Record commit...
canonical: https://daily.dev/posts/ractor-ready-rails-ordered-cache-fetches-and-more--kcwkohnhj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Ractor-ready Rails, ordered cache fetches, and more! | daily.dev
og:description: Weekly Rails changelog roundup covering ongoing Ractor-readiness work (shareable controller configuration, Action View settings, Active Record commit...
og:url: https://daily.dev/posts/ractor-ready-rails-ordered-cache-fetches-and-more--kcwkohnhj
og:image: https://api.daily.dev/og/posts/kCWkOHNHj.png
og:image:alt: Ractor-ready Rails, ordered cache fetches, and more!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Ractor-ready Rails, ordered cache fetches, and more!

**[Rails](https://daily.dev/sources/rails)** · 3 min read · 1 upvotes · 0 comments

## Summary

Weekly Rails changelog roundup covering ongoing Ractor-readiness work (shareable controller configuration, Action View settings, Active Record commit callbacks, time zone configuration), a fix for TypeCaster connection leaks, preserved key order in fetch_multi with local cache, a new PostgreSQL error_verbosity option, restored triggers when disable_referential_integrity raises, removal of redundant joins in scoped through associations, a new test config to shuffle unordered query results, an upgrade of Active Storage to Marcel 2 for MIME detection, JSON 3.0 compatibility fixes, default timeouts for generated GitHub Actions jobs, and two guides (Hotwire, Securing Rails rewrite) open for review. Also links to an Agents on Rails leaderboard update and a podcast episode on scaling a Rails monolith.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://rubyonrails.org/2026/9/4/this-week-in-rails>

## Questions this post answers

### What changes when Active Storage upgrades to Marcel 2 for MIME type detection?

Active Storage now depends on Marcel 2, which broadens MIME type detection and adds hardening. Some newly analyzed files may receive canonical content types where Marcel 1 previously returned aliases, though existing blobs keep their already-stored content types. Code that compares content type strings as exact values should be checked before upgrading to avoid unexpected mismatches.

_daily.dev helps developers planning a Marcel 2 upgrade stay ahead of MIME type edge cases._

### Why does ActiveSupport::Cache::Strategy::LocalCache#fetch_multi return keys in a different order than requested?

This was a bug that has been fixed: fetch_multi previously returned local cache hits before misses, changing the order from what the caller requested. It now returns keys in the original requested order, matching the behavior of Store#fetch_multi, so callers relying on result ordering no longer get silently reordered results.

_track cache-layer fixes like this on daily.dev before they cause subtle ordering bugs in production._

### How do I configure PostgreSQL error verbosity in a Rails database.yml file?

Rails' PostgreSQL adapter now accepts an error_verbosity option in database.yml, applied when each connection is configured. For example, setting error_verbosity to PG::PQERRORS_TERSE under the production environment reduces the detail level of Postgres error messages returned to the application.

_developers tuning Postgres connections can follow granular Rails adapter changes like this on daily.dev._

## Similar posts on daily.dev

- [Better guides, better framework](https://daily.dev/posts/better-guides-better-framework-u808pzsy9) · Rails · 0 upvotes · 0 comments
- [This Week in Rails: Better Guides, Better Framework](https://daily.dev/posts/this-week-in-rails-better-guides-better-framework-cc7vjcik2) · Ruby Flow · 0 upvotes · 0 comments
- [No tricks, just treats](https://daily.dev/posts/no-tricks-just-treats-vwr2jfi0m) · This Week in Rails · 0 upvotes · 0 comments
- [Issue \#814: Bringing Rails into the Ractor age — Ruby Weekly](https://daily.dev/posts/issue-814-bringing-rails-into-the-ractor-age-ruby-weekly-vch5zguhp) · Ruby Weekly · 0 upvotes · 0 comments
- [This Week in Rails: March 6, 2026](https://daily.dev/posts/this-week-in-rails-march-6-2026-jzbaqilfy) · This Week in Rails · 0 upvotes · 0 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#ruby](https://daily.dev/tags/ruby), [#rails](https://daily.dev/tags/rails)

[View this post on daily.dev](https://daily.dev/posts/ractor-ready-rails-ordered-cache-fetches-and-more--kcwkohnhj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Ractor-ready Rails, ordered cache fetches, and more!","url":"https://daily.dev/posts/ractor-ready-rails-ordered-cache-fetches-and-more--kcwkohnhj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ractor-ready-rails-ordered-cache-fetches-and-more--kcwkohnhj"},"datePublished":"2026-09-04T18:22:07.332Z","dateModified":"2026-09-13T22:01:28.595Z","description":"Weekly Rails changelog roundup covering ongoing Ractor-readiness work (shareable controller configuration, Action View settings, Active Record commit...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8e4f5a3c3e5361719ef48f4eb467a7f8?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8e4f5a3c3e5361719ef48f4eb467a7f8?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Rails","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Rails","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d44501fa43a2441a9e27a08367cdfa52","url":"https://daily.dev/sources/rails"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ractor-ready-rails-ordered-cache-fetches-and-more--kcwkohnhj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"postgresql,ruby,rails","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Rails","item":"https://daily.dev/sources/rails"},{"@type":"ListItem","position":3,"name":"Ractor-ready Rails, ordered cache fetches, and more!"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/ractor-ready-rails-ordered-cache-fetches-and-more--kcwkohnhj#faq","mainEntity":[{"@type":"Question","name":"What changes when Active Storage upgrades to Marcel 2 for MIME type detection?","acceptedAnswer":{"@type":"Answer","text":"Active Storage now depends on Marcel 2, which broadens MIME type detection and adds hardening. Some newly analyzed files may receive canonical content types where Marcel 1 previously returned aliases, though existing blobs keep their already-stored content types. Code that compares content type strings as exact values should be checked before upgrading to avoid unexpected mismatches. daily.dev helps developers planning a Marcel 2 upgrade stay ahead of MIME type edge cases."}},{"@type":"Question","name":"Why does ActiveSupport::Cache::Strategy::LocalCache#fetch_multi return keys in a different order than requested?","acceptedAnswer":{"@type":"Answer","text":"This was a bug that has been fixed: fetch_multi previously returned local cache hits before misses, changing the order from what the caller requested. It now returns keys in the original requested order, matching the behavior of Store#fetch_multi, so callers relying on result ordering no longer get silently reordered results. track cache-layer fixes like this on daily.dev before they cause subtle ordering bugs in production."}},{"@type":"Question","name":"How do I configure PostgreSQL error verbosity in a Rails database.yml file?","acceptedAnswer":{"@type":"Answer","text":"Rails' PostgreSQL adapter now accepts an error_verbosity option in database.yml, applied when each connection is configured. For example, setting error_verbosity to PG::PQERRORS_TERSE under the production environment reduces the detail level of Postgres error messages returned to the application. developers tuning Postgres connections can follow granular Rails adapter changes like this on daily.dev."}}]}
```

