Skip to content

Use unprocessable_content instead of unprocessable_entity#52192

Closed
heka1024 wants to merge 1 commit into
rails:mainfrom
heka1024:unprocessable-content
Closed

Use unprocessable_content instead of unprocessable_entity#52192
heka1024 wants to merge 1 commit into
rails:mainfrom
heka1024:unprocessable-content

Conversation

@heka1024

Copy link
Copy Markdown
Contributor

Use unprocessable_content instead of unprocessable_entity. As it is changed in rack rack/rack#2137.

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one change. Unrelated changes should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Tests are added or updated if you fix a bug or add a feature.
  • CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature. Minor bug fixes and documentation changes should not be included.

@heka1024

Copy link
Copy Markdown
Contributor Author

Oh, I missed #52087.

@heka1024 heka1024 closed this Jun 22, 2024
@heka1024 heka1024 deleted the unprocessable-content branch June 22, 2024 13:12
Earlopain added a commit to Earlopain/rails that referenced this pull request Oct 19, 2024
Using `unprocessable_entity` will emit a warning on Rack 3.2.
There have been various PRs in the past for this:
* rails#52252
* rails#52192
* rails#52087
* rails#52097

This to me seems like the least invasive change and is also how headers are currently handled.
Earlopain added a commit to Earlopain/rails that referenced this pull request Mar 3, 2025
Using `unprocessable_entity` will emit a warning on Rack 3.2.
There have been various PRs in the past for this:
* rails#52252
* rails#52192
* rails#52087
* rails#52097

This to me seems like the least invasive change and is also how headers are currently handled.
Earlopain added a commit to Earlopain/rails that referenced this pull request Jul 23, 2025
Using `unprocessable_entity` will emit a warning on Rack 3.2.
There have been various PRs in the past for this:
* rails#52252
* rails#52192
* rails#52087
* rails#52097

This to me seems like the least invasive change and is also how headers are currently handled.
byroot pushed a commit to Earlopain/rails that referenced this pull request Jul 31, 2025
Using `unprocessable_entity` will emit a warning on Rack 3.2.
There have been various PRs in the past for this:
* rails#52252
* rails#52192
* rails#52087
* rails#52097

This to me seems like the least invasive change and is also how headers are currently handled.
viralpraxis pushed a commit to viralpraxis/rails that referenced this pull request Sep 22, 2025
Using `unprocessable_entity` will emit a warning on Rack 3.2.
There have been various PRs in the past for this:
* rails#52252
* rails#52192
* rails#52087
* rails#52097

This to me seems like the least invasive change and is also how headers are currently handled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant