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

rack-attack? #88

Open
epipheus opened this issue Dec 14, 2019 · 3 comments
Open

rack-attack? #88

epipheus opened this issue Dec 14, 2019 · 3 comments

Comments

@epipheus
Copy link

Curious how to get this to work with rack-attack? Can you point me in the right direction?

@richpeck
Copy link
Owner

richpeck commented Dec 14, 2019

Hi there, I would imagine it should work as required? I've not used rack-attack myself, but a quick look at the documentation suggests that it's just adding another layer of middleware. ExceptionHandler simply overrides a hook inside the ActionDispatch::ShowExceptions middleware, meaning that if rack-attack is below ShowExceptions in the middleware stack, any errors should revert to it. If this isn't the case, I can look specifically at it and create a patch, if necessary.

@epipheus
Copy link
Author

epipheus commented Dec 14, 2019 via email

@richpeck
Copy link
Owner

No problem at all - it wouldn't be that much of an issue for me to play around with it. I'm presently re-doing the README to get rid of all the nonsense in it, so if you have any questions, please let me know.

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

No branches or pull requests

2 participants