$ the-wire · showcase
BigInteger casting truncation fixed, Rails guides rewritten
By RepoJournal · Filed · About Rails · Composed from the cited sources · methodology
Rails fixed a silent data-corruption bug where ActiveModel's BigInteger cast dropped digits from long string values, alongside a coordinated rewrite of the debugging, JavaScript, and API guides.
Fix BigInteger casting truncating strings to 16 bytes rails/rails
Since 6ee1adf7d, `ActiveModel::Type::Integer` only cast the first `_limit * 4` bytes of a string, and `BigInteger` inherited that 16-byte cap when no `limit` was set, so values like "18446744073709551615" came back as 1844674407370955. This also hit Active Record decimal columns without a scale, which use the `DecimalWithoutScale` subclass; `BigInteger` now bounds the cast properly.
Rewrite the debugging guide (#58263) rails/rails
The debugging guide gained an Introduction section, moved the `debug` gem to the top, and now covers only the most commonly used tasks with links out to the `debug` docs rather than duplicating them. It also adds a section on remote debugging and reorganises the view-debugging material into sub-sections.
[RF-DOCS] Update the JavaScript in Rails guide (#58165) rails/rails
The JavaScript in Rails guide now has a clearer narrative around import maps versus bundlers, with the bundler comparison compressed into something shorter. It adds a detailed Hotwire section covering `turbo-rails` and `stimulus-rails` integration, plus new material on `request.js`.
[RF-DOCS] Update the guide for using Rails as an API (#57573) rails/rails
The Rails-as-an-API guide was restructured away from a step-by-step tutorial toward reference-style reading, matching how the rest of the guides are consumed. The "why use Rails as an API" section was cut down from a feature list to a short pitch on how much of Rails still applies.
Merge pull request #58855 from yahonda/dump-loadable-create-schema rails/rails
PostgreSQL users get cleaner output: `db/schema.rb` no longer carries needless schema qualification, making the dumped schema loadable without it. Also this cycle, claudiob published This Week in Rails for 2026-09-25.