RepoJournal
Rails

@rails

Ruby on Rails - Shopify, Basecamp, GitHub all run on it

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

One email a day. Unsubscribe in one click.

Pick a date

Topics: Ruby Full archive →

The Wire · Showcase

RAILS TIGHTENS SQL SAFETY AND LOGGING CONTROL IN MAINTENANCE PUSH

By RepoJournal · Filed · About Rails

Rails shipped five commits across parameter binding, logger filtering, and migration recording that tighten SQL injection prevention and give you finer control over noisy dependencies.

ProxyLogger can now silence specific messages by pattern without raising the global log level [1]. The feature lets you ignore noisy gems with regex or string matching, compiled once at registration time to avoid performance drag on every log call. Meanwhile, `find_by_sql` and `count_by_sql` now route array-form arguments through bind parameters instead of eager interpolation, closing a parity gap with the `where` API [2]. This consolidates placeholder dispatch into a shared `Sanitization#bound_sql_literal_for` method, reducing duplication. Rails also cleaned up test infrastructure by dropping stubs from `FakeKlass` and moving it to real `Sanitization` methods [3], and refactored `CommandRecorder` to store migration command args and kwargs separately instead of bundling them into a trailing hash [4]. The kwargs separation breaks code that inspects `recorder.commands` directly and expects 3-element tuples instead of the new 4-element shape.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Allow ActiveSupport::ProxyLogger to ignore messages by pattern ↗ rails/rails
  2. [2] Use bind parameters for array-form arguments in `find_by_sql` / `count_by_sql` ↗ rails/rails
  3. [3] Drop `Sanitization` stubs from `FakeKlass` rails/rails
  4. [4] Refactor `CommandRecorder` to store args and kwargs separately ↗ rails/rails

Quick answers

What shipped in Rails on August 10, 2026?
Rails shipped five commits across parameter binding, logger filtering, and migration recording that tighten SQL injection prevention and give you finer control over noisy dependencies. In total, 22 commits and 10 pull requests landed.
Who contributed to Rails on August 10, 2026?
3 developers shipped this update, including federico-carrocera, kamipo, and Xavier Noria.
What were the notable Rails updates?
Allow ActiveSupport::ProxyLogger to ignore messages by pattern, Use bind parameters for array-form arguments in `find_by_sql` / `count_by_sql`, and Drop `Sanitization` stubs from `FakeKlass`.

More from @rails

Daily updates, in your inbox

Follow Rails

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

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?