Skip to content

Conversation

@Budmin
Copy link
Contributor

@Budmin Budmin commented Dec 22, 2025

What github issue is this PR for, if any?

No associated github issue.

What changed, and why?

422 Status codes use :unprocessable_content instead of :unprocessable_entity.

This was done because :unprocessable_entity is deprecated in Rack, and this is the suggested fix.

How is this tested? (please write rspec and jest tests!) 💖💪

Changed the tests that expected :unprocessable_entity to expect :unprocessable_content

Screenshots please :)

Run your local server and take a screenshot of your work! Try to include the URL of the page as well as the contents of the page.

(These messages don't appear anymore when running rspec)
image

Feelings gif (optional)

What gif best describes your feeling working on this issue? https://giphy.com/
How to embed:

![alt text](https://media.giphy.com/media/1nP7ThJFes5pgXKUNf/giphy.gif)

@github-actions github-actions bot added ruby Pull requests that update Ruby code Tests! 🎉💖👏 labels Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ruby Pull requests that update Ruby code Tests! 🎉💖👏

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant