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

Stack level too deep - ActionMailer Preview with wicked_pdf #999

Closed
stewgloves opened this issue Dec 23, 2021 · 1 comment
Closed

Stack level too deep - ActionMailer Preview with wicked_pdf #999

stewgloves opened this issue Dec 23, 2021 · 1 comment

Comments

@stewgloves
Copy link

stewgloves commented Dec 23, 2021

Issue description

I am using wicked_pdf to attach a PDF to an email. I have managed to get the solution working however when trying to preview the email/pdf using ActionMailer preview. I am hit with a 'stack level too deep' error caused by a call to

method(:render).super_method.call(options, *args, &block)

Steps to reproduce:

install gems - wicked_pdf & wkhtmltopdf
rails g wicked_pdf
Access rails/mailers

Any help would be much appreciated!

Expected or desired behaviour

When accessing the rails/mailers/ I will be shown my mailers to preview.

System specifications

Rails 6.1.4.4
wicked_pdf 2.1.0
wkhtmltopdf-binary 0.12.6.5

wicked_pdf gem version (output of cat Gemfile.lock | grep wicked_pdf):

wkhtmltopdf version (output of wkhtmltopdf --version):

whtmltopdf provider gem and version if one is used:

platform/distribution and version (e.g. Windows 10 / Ubuntu 16.04 / Heroku cedar):

@stewgloves
Copy link
Author

Closing as duplicate of #810

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