Summary
When using Wicked with recent versions of Rack, the following warning appears:
warning: Status code :unprocessable_entity is deprecated and will be removed in a future version of Rack.
Please use :unprocessable_content instead.
See Rack#2137.
Details
There one occurrence in render_redirect.rb and one in the corresponding test (status_codes_controller_test.rb).
Possible fixes
- Replace symbol with :unprocessable_content and drop support for older versions of Rack
- Use a numeric status code
422 instead of named symbol
- Add code for backwards compatibility