We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi
For parameters validations, the status code is not the same depending of the usage of rescue_from :all
without rescue_from :all, if a parameter is not valid, we have the 400 Bad Request
with rescue_from :all, we have a 403 Forbidden
Why the status code is changing ?
Regards
The text was updated successfully, but these errors were encountered:
This should have been a 500, since it's a result of an exception, which has been fixed in HEAD, #525.
For validations a 400 makes sense, because it's a bad parameter, aka a bad request.
Sorry, something went wrong.
No branches or pull requests
Hi
For parameters validations, the status code is not the same depending of the usage of rescue_from :all
without rescue_from :all, if a parameter is not valid, we have the 400 Bad Request
with rescue_from :all, we have a 403 Forbidden
Why the status code is changing ?
Regards
The text was updated successfully, but these errors were encountered: