Skip to content

Conversation

@gmarziou
Copy link

When creating a model with invalid fields, we get an HTTP 422 which is correct but this warning is logged:

app/controllers/admin/base_controller.rb:13:in `authenticate' gems/rack-3.2.1/lib/rack/utils.rb:584: warning: Status code :unprocessable_entity is deprecated and will be removed in a future version of Rack. Please use :unprocessable_content instead.

This was deprecated in Rails 7.1

When creating a model with invalid fields, we get an HTTP 422 which is correct but
this warning is logged:

app/controllers/admin/base_controller.rb:13:in `authenticate'
gems/rack-3.2.1/lib/rack/utils.rb:584: warning: Status code :unprocessable_entity is deprecated and will be removed in a future version of Rack. Please use :unprocessable_content instead.

This was deprecated in Rails 7.1
@gmarziou
Copy link
Author

I tested in Rails 8

@gmarziou gmarziou closed this by deleting the head repository Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants