Skip to content

Is Rack::Attack.reset! supposed to clear .blocklist and .safelist? #563

Answered by johlym
johlym asked this question in Questions (Q&A)
Discussion options

You must be logged in to vote

As it turns out, .clear_configuration is the tool for the job, here. It's not documented, so far as I can tell, so I might submit a PR for the README to include it.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by grzuy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #561 on January 18, 2022 12:35.