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

Check for double rendering errors #22

Open
bouk opened this issue Dec 16, 2021 · 0 comments
Open

Check for double rendering errors #22

bouk opened this issue Dec 16, 2021 · 0 comments

Comments

@bouk
Copy link
Contributor

bouk commented Dec 16, 2021

Rails' metal controller checks to see if you're accidentally rendering multiple times

https://github.com/rails/rails/blob/87d65e9b1279be17cede6be3d663a3e7ea168b75/actionpack/lib/action_controller/metal/rendering.rb#L27-L31

rails-twirp needs a check like that too

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

1 participant