Skip to content

Pin json < 3 for the Rails 7.0, 7.1 and 8.0 gemfiles - #5866

Merged
carlosantoniodasilva merged 1 commit into
heartcombo:mainfrom
excid3:fix-json-pin
Oct 6, 2026
Merged

carlosantoniodasilva merged 1 commit into
heartcombo:mainfrom
excid3:fix-json-pin

Conversation

@excid3

@excid3 excid3 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Active Support in Rails 7.0, 7.1 and 8.0 still passes quirks_mode to JSON.generate, which json 3.0 removed. The gemfiles for those versions have no upper bound on json, so a fresh bundle install now resolves json 3.x and every test that renders a view fails with:

ArgumentError: unknown keyword: :quirks_mode

This pins json < 3 in the three affected gemfiles only. Rails 7.2+ no longer passes quirks_mode, so those gemfiles are untouched.

CI on the fork with this change: https://github.com/excid3/devise/actions/runs/37405511101

🤖 Generated with Claude Code

https://claude.ai/code/session_01Fb2E5SnkxkicWdSSbqUN4y

Active Support in these versions still passes `quirks_mode` to
JSON.generate, which json 3.0 removed, so every request that renders a
view fails with `unknown keyword: quirks_mode` in CI.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@carlosantoniodasilva
carlosantoniodasilva merged commit 9b6d3d8 into heartcombo:main Oct 6, 2026
54 of 60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants