Skip to content

Commit

Permalink
Update CHANGELOG for #78/#77
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaier authored and yuki24 committed Aug 6, 2024
1 parent 2ed89a1 commit c8a3d04
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ config.rescue_responses = {
}
```

## Special case `unprocessable_entity`/`unprocessable_content` (HTTP Status 422)

Rack renamed `unprocessable_entity` to `unprocessable_content`.

Rambulance supports both, but defaults to `unprocessable_content` with version 3.2.0 and later.
`unprocessable_entity` is supported with a redirect to `unprocessable_content`.

This means the view file is called `app/views/errors/unprocessable_content.html.erb`, not `app/views/errors/unprocessable_entity.html.erb`.

## Local Development

### Open `localhost:3000/rambulance/***` in Your Browser
Expand Down

0 comments on commit c8a3d04

Please sign in to comment.