Faster i18n loading, thread-safe routes, and more!
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
This week in Rails covers several notable changes: a security release addressing arbitrary file read and RCE vulnerabilities in Active Storage (versions 7.2.3.2, 8.0.5.1, 8.1.3.1); a performance improvement cutting i18n initialization time from 400ms to 250ms; thread-safe lazy route loading using a three-state flag with a reentrant Monitor; Ractor-safe controller middleware via copy-on-write; deprecations of TransactionState predicates and certain insert/to_sql arguments; template resolution optimized to a single pass; and improved SQL log output showing positional parameter markers instead of raw bind arrays.
8 Impressions