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

Don't choke when controller is not present in the request #55

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

jorgemanrubia
Copy link
Member

Many thanks @gobijan for reporting and troubleshooting 🙏. Added as coauthor.

Close #54
Fix #53

@jorgemanrubia jorgemanrubia merged commit 55656d4 into main Dec 26, 2024
2 checks passed
require "application_system_test_case"

class MiddlewareTest < ActionDispatch::IntegrationTest
test "error" do
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test renamed in 7ded7ac

@gobijan
Copy link
Contributor

gobijan commented Dec 26, 2024

Thx for jumping in so quickly Jorge. I've been to a Christmas dinner and couldn't respond so till now. Your check if interceptable method in the middleware makes a lot of sense and keeps the code simpler. It's a good practice to check at the boundaries 👍
Thx for releasing a new version too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

No Method Error: undefined method 'helpers' for nil when redirecting root
2 participants