This week in Rails covers a range of bug fixes and improvements. Key changes include an opt-in for RFC 9110 compliant Accept header content negotiation, dotenv fixes for inline comment stripping and path-based memoization, and several mutation-safety fixes across ActionDispatch, ActiveModel, and ActiveRecord. Association handling improvements cover polymorphic associations with custom primary keys, composite primary key inverse matching, and a new class attribute for primary_key. Ractor safety work continues with frozen defaults and copy-on-write patterns applied to TimeFormats, rescue handlers, parameter encodings, and more. The json gem was bumped to 2.20.0 with comment support enabled, and safe_join's default separator was cleaned up.
489 Impressions