Rails 8 upgrade story: duplicate keys sneaking into our JSON responses | Arkency Blog
03-Oct-2025 685
The upgrade from Rails 7.2.2.2 to 8.0.2.1 went surprisingly smoothly.
After deployment, we didn’t notice any new exceptions, and the application seemed stable.
At least at first…
First reports
After a while, we started receiving complaints from an external application consuming our JSON API.
Identifiers that were supposed to be strings suddenly started arriving as integers. 🤔
We rolled back the changes and began debugging.
Rails 8 upgrade story: duplicate keys sneaking into our JSON responses | Arkency Blog #ruby #rubydeveloper #rubyonrails #Rails #upgrade #story: #duplicate #sneaking #responses #Arkency #blog #upgrade https://rubyonrails.ba/link/rails-8-upgrade-story-duplicate-keys-sneaking-into-our-json-responses-arkency-blog