AI summaryThis week's Rails update introduces a new bin/rails credentials:keys command to list credential keys without exposing secrets, bulk loading of Action Text attachables to eliminate per-attachment queries, and the ability for Action Mailer to boot without Active Job. Other notable changes include NOT ENFORCED check constraint support for PostgreSQL 18+, thread-isolation fixes for ActionController::Live streams, and numerous bug fixes across truncation, Accept header parsing, and SQLite's raised minimum version of 3.37.0. The release closed out with contributions from 48 developers to the Rails codebase.
AI summaryThis week's Rails codebase changes focus heavily on security, featuring a rewritten 'Securing Rails' guide, a Rack patch blocking arbitrary encodings in multipart form data, hardened generated GitHub Actions workflows, and a new default ensuring association scopes keep owner conditions. Other notable changes include dropping support for the Active Record 6.1 marshal format, supporting Ruby Set objects in class attributes and token lists, decoupling Action Mailer from Active Job, and various performance improvements and bug fixes such as a 100x speedup for String#truncate_words. The week saw 34 contributors, and four new AI model versions were added to the Agents on Rails benchmark.
AI summaryThis is Wojtek's weekly Rails development update, highlighting a new guide for using Hotwire with Rails along with numerous bug fixes across Active Record, Active Job, Active Support, and other Rails components. Key fixes include deprecating unqualified unscope(where:) calls, filtering sensitive parameters from error logs, preventing silent truncation of 64-bit integers, correcting DST gap time shifts, and no longer exposing encryption keys in inspect output. The week saw contributions from 41 developers to the Rails codebase.
AI summaryMarco Roth, creator of Herb and ReActionView, joins the On Rails podcast to explain how Herb parses HTML and ERB together, allowing broken views to be caught before they reach production, with Herb set to become part of Rails 8.2. The conversation also covers how ReActionView makes Rails views reactive without requiring rewrites, the story behind RubyEvents.org, and why such tooling matters even more when AI agents write templates.
AI summaryThis edition of 'This Week in Rails' announces the release of Rails 8.0.5.2 and 8.1.4.1, security updates addressing 21 security issues. The issue also highlights a busy week of bug fixes across the framework, including corrections to Active Record features like merging relations, default ordering, inheritance of parent-class attributes and associations, and preloading through associations, as well as fixes in caching, URL generation, and message encryption.
AI summaryRails versions 8.0.5.2 and 8.1.4.1 have been released as security updates addressing 21 security issues, including arbitrary file read/write and remote code execution in Active Storage, XSS vulnerabilities in Action View, DoS vulnerabilities, session handling issues, and IP spoofing. The Rails team strongly recommends upgrading as soon as possible, noting that older versions are unsupported and security support for the 8.0 series ends on November 7, 2026. SHA-256 hashes for the released gems are also provided so users can verify the integrity of their downloads.
AI summaryThis week's Rails update features a new guide on multiple databases in Active Record, a performance tuning guide open for review, and various improvements including faster boot times by not loading Capybara/Selenium by default and C-based decoding of PostgreSQL integer arrays. Numerous bug fixes landed for association preloading, CSRF token rendering, query ordering, and optimizer hints, alongside deprecations of NumericalityValidator and ColumnDefinition option accessors, and the switch to Markdown as default API docs markup. The week saw 33 contributors to the Rails codebase.
AI summaryThis week's Rails update brings several security and reliability improvements, including defaulting the message serializer to :json with no Marshal fallback in 8.2, creating the local secret file with owner-only permissions, and preventing host injection in route redirects. It also adds config.zjit for the new ZJIT compiler, uses SQLite's native RENAME COLUMN instead of table rebuilds, bumps the minimum MySQL version to 5.7.9, and includes numerous fixes for in_order_of, numericality validation, tuple where clauses, and deliver_all_later. Additional cleanups cover a new before_ractorize load hook, BasicObject-based deprecation proxies, and deprecation of ssl_default_redirect_status and raise_on_assign_to_attr_readonly.
AI summaryThis is an announcement for an episode of the On Rails podcast featuring Hussain Akram and Antonio Carlos de Souza of Donorbox, a Rails app that has helped nonprofits raise funds online and in person for over a decade. The discussion covers how Donorbox handles heavy traffic with a deliberately simple setup, why the team moved CI back onto developers' machines, and how they are modernizing older parts of the app toward Rails defaults. They also explain how they use agent docs to steer AI tools toward the coding patterns they want in their codebase.
AI summaryThis week's Rails codebase update includes performance improvements such as faster String#blank? checks for ASCII strings, shared read-only default attributes in Active Record, and rendering collection partials with fewer intermediate objects. It also features a safer SQLite rollback process that preserves the original error, along with fixes for eager loading with merged joins, CTE joins with limits, composite-key associations, and thread isolation for connected_to state. The week saw 30 contributors to the Rails codebase.