This Week in Rails

September 11, 2026

Alternative text in attachments and more

Hi, Wojtek here. If you’re in Austin for Rails World, be sure to collect our newsletter stickers. See you there!

Rails World Opening Keynote livestream
For those who can’t make it to Austin: Tune in live to watch the Rails World 2026 Opening Keynote where DHH will share what’s new in Rails, what’s coming up, and where Rails is headed in the future.
Join from wherever you are in the world on Wednesday 23.09:
  • 9:30 AM - Austin
  • 7:30 AM - Pacific
  • 10:30 AM - Eastern
  • 3:30 PM - UK
  • 4:30 PM - Central Europe
  • 11:30 PM - Japan

Active Support Core Extensions guide awaiting community review
Read, comment and suggest improvements if you have some free time.

Add alternative text to Action Text attachments
Attachments now accept an alt attribute, exposed as ActionText::Attachment#alt and rendered as the image’s alternative text. It is independent of the caption, so an attachment may have either, both, or neither.
 
ActionText::Attachment.from_attachable(blob, alt: "A racecar on a track")

Exclude generated error pages from language stats
The five error pages generated since Rails 8.0 total about 36 KB of HTML, more than the Ruby in a freshly generated application, so GitHub reported new Rails applications as HTML repositories. Marking the pages as generated excludes them from language statistics.

Fix docker-entrypoint check to support extra bin/rails server flags
Passing any additional flag to the server (e.g. -b 0.0.0.0, needed to bind to all interfaces under Docker / Podman) shifted server out of position, so the check silently failed and the database was never prepared.

You can view the whole list of changes here.
We had 24 contributors to the Rails codebase this past week!

Until next time!

About This Week in Rails

Your weekly inside scoop of interesting commits, pull requests and more from Rails.