Releases: yuki24/rambulance
Releases · yuki24/rambulance
v3.3.0
v3.2.0
This release includes a breaking change. Please read the details below carefully.
New Features
- Fixed compatibility with Rack (see rack/rack#2137) (#77, @tmaier, #78)
Breaking Changes
The Rack compatibility fix is related to Rack becoming more compliant with the IANA HTTP Status Code Registry.
As a result:
unprocessable_entity
has been renamed tounprocessable_content
.- Rambulance will redirect any request from
unprocessable_entity
tounprocessable_content
for backward compatibility. - Users must rename the view file from
app/views/errors/unprocessable_entity.html.erb
toapp/views/errors/unprocessable_content.html.erb
. - Users should update the hash values in their configurations: Change
unprocessable_entity
tounprocessable_content
inconfig.rescue_responses
/config.action_dispatch.rescue_responses