114 wires and counting

$ follow Rails

Keep up with Rails in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-09-07
stories 3

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

ActionDispatch drops regexp re-serialization per ParameterFilter build

By RepoJournal · Filed · About Rails

Rails replaced Regexp#to_s with Regexp#source in ParameterFilter#compile_filters!, removing per-call regexp re-serialization and re-compilation overhead on every ActionDispatch request.

ParameterFilter#compile_filters! used Regexp#to_s to check whether pattern text contains an escaped dot, which re-serializes and partially re-compiles the regexp on every call. It now uses Regexp#source, a plain accessor, returning the same answer without the extra work [1]. This matters because ActionDispatch builds a new ParameterFilter per request, so the savings show up in benchmarks like railsbench [1]. The change was merged into Rails via pull request #58678 [2].

Quick answers

What shipped in Rails on September 7, 2026?
Rails replaced Regexp#to_s with Regexp#source in ParameterFilter#compile_filters!, removing per-call regexp re-serialization and re-compilation overhead on every ActionDispatch request. In total, 2 commits and 1 pull requests landed.
Who contributed to Rails on September 7, 2026?
2 developers shipped this update, including Benoit Daloze and fatkodima.
What were the notable Rails updates?
Use Regexp#source instead of Regexp#to_s to detect deep filters and Merge pull request #58678 from eregon/parameter-filter-regexp-source.