Twitxy Saved

Ruby on Rails

Verified account This account is verified. Learn more

@rails

Ruby on Rails scales from PROMPT to IPO. Token-efficient code that's easy for agents to write and beautiful for humans to review.
rubyonrails.org Joined April 2007
41 Following 137K Followers 1.9K Posts

Latest posts 5

Ruby on Rails Verified account @rails
In the latest episode of On Rails, @marcoroth_ and @robbyrussell chat about Herb and the future of Rails views, including why ERB went so long without the linting, formatting, and editor tooling other ecosystems take for granted, how teams can adopt Herb in stages on existing apps, and how GitHub is already running it in CI on their monolith.

They also get into ReActionView, which builds on Herb to make Rails views reactive without wiring up Turbo Frames or matching IDs, plus Marco’s path from StimulusReflex to maintaining Stimulus and his work on @rubyevents_org.

Listen to the full episode here, or wherever you get your podcasts: podcast.rubyonrails.org/2462975/episod…
1:15
2 replies 7 reposts 72 likes 5.3K views View on X
Ruby on Rails Verified account @rails
This Week in Rails is out. Updates to the framework this week include:
- Secrets are safer: ActiveSupport::EncryptedFile#inspect no longer includes the encryption key, so the key can't end up in logs or error pages.
- Large numbers are no longer cut short: :integer attributes without an explicit limit used to silently truncate 19-digit strings to 16 digits. Any 64-bit value now fits.
- Under the hood, Active Record now stores a model's attributes in an Array, and casts and freezes attribute defaults once when the schema is loaded.

There's a lot more to check out in today's newsletter. Find it here: rubyonrails.org/2026/11/13/thi…

This week there were 41 contributors to Rails. Thank you to all those whose PRs were highlighted this week:
Petrik de Heus (p8), @tenderlove, @kamipo, Richard Desmarais (fuzzyrichie), Clément Joubert (czj), Helmi Pradita (helmipradita), alexandre184, Kenta Ishizaki (55728), Sean Doyle (seanpdoyle), @talaatmagdyx, @thomasklemm, Bruno Costanzo (bruno-costanzo), @djfpaagman, Kengo Johira (kehra)
2 replies 8 reposts 56 likes 4.7K views View on X
Ruby on Rails Verified account @rails
The Hotwire Guide has now been merged. Thank you @ayushn21 and everyone who helped by reviewing: edgeguides.rubyonrails.org/using_hotwire_…
edgeguides.rubyonrails.org Using Hotwire With Rails — Ruby on Rails Guides Hotwire is Rails' default JavaScript front-end stack. This guide covers Rails' integration with the Hotwire libraries Turbo and Stimulus.After reading this guide you will know: The libraries that the...
Ruby on Rails Verified account @rails Aug 31
Many people have asked for it, so: #Hotwire is being added to the Rails documentation, and we’d love your feedback on the PR.

The Hotwire guide focuses specifically on Rails’ integration with Turbo and Stimulus, covering:
- The libraries that make up the Hotwire suite
- Using Turbo Drive, Frames, and Streams in Rails
- Delivering Turbo Streams over WebSockets with Action Cable
- Broadcasting Turbo Stream updates when Active Record models are created or updated
- Using Stimulus in Rails

Find the PR for review here, and thank you in advance: github.com/rails/rails/pu…
View quoted post on X
1 replies 14 reposts 127 likes 7.7K views View on X
Ruby on Rails Verified account @rails
This Week in Rails is out!

There were many updates to the framework this week. Here are a few:
- Rails 8.0.5.2 and 8.1.4.1 were released to address 21 security issues, so upgrade if you haven't already.
- You can now rotate your master key without downtime, because RAILS_MASTER_KEY accepts several comma-separated keys and Rails tries each until one works.
- PostgreSQL null byte errors are now wrapped in ActiveRecord::NullByteError instead of a generic ArgumentError to make invalid inputs easier to handle. If you rescue ArgumentError around queries for this, you will need to update that code.
- A series of fixes makes default_order apply correctly in preloading and eager loading, and keeps it out of counts, aggregates and collection cache keys where it caused invalid SQL.

There's a lot more to read about, so check this week's wrap-up here: rubyonrails.org/2026/11/6/this…