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

Avoid conflict with remotipart. #821

Merged
merged 1 commit into from
Apr 3, 2019
Merged

Conversation

unixmonkey
Copy link
Collaborator

If remotipart is loaded after wicked_pdf, it's aliasing of render
causes it to call render in an endless loop causing a SystemStackError.

This forces the WickedPdf railtie to initialize only after remotipart
has already aliased render, so that when we call render, it's the
remotipart alias.

If remotipart is loaded after wicked_pdf, it's aliasing of `render`
causes it to call render in an endless loop causing a SystemStackError.

This forces the WickedPdf railtie to initialize only after remotipart
has already aliased `render`, so that when we call render, it's the
remotipart alias.
@unixmonkey unixmonkey merged commit bc8369a into master Apr 3, 2019
@unixmonkey unixmonkey deleted the avoid-remotipart-conflict branch April 3, 2019 18:34
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.

1 participant