Skip to content
New issue

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

Fix support for Rails 5.1 apps #286

Merged
merged 1 commit into from
May 10, 2017
Merged

Fix support for Rails 5.1 apps #286

merged 1 commit into from
May 10, 2017

Conversation

tombruijn
Copy link
Member

The ActionDispatch::DebugExceptions middleware returns a rack response
in v5.1.0 instead of an exception as in < v5.1.0. Change the location
where we inject the middleware, namely before the exception is caught
and an error page is rendered.

@tombruijn tombruijn self-assigned this May 10, 2017
@thijsc
Copy link
Member

thijsc commented May 10, 2017

Let's ship this straight away.

@tombruijn
Copy link
Member Author

Oh I see I aimed this at develop. Will rebase on master branch. @jeffkreeftmeijer can you review so we can release a 2.2.1 release?

The ActionDispatch::DebugExceptions middleware returns a rack response
in v5.1.0 instead of an exception as in < v5.1.0. Change the location
where we inject the middleware, namely before the exception is caught
and an error page is rendered.
@tombruijn tombruijn changed the base branch from develop to master May 10, 2017 09:00
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.

None yet

3 participants