Closed stanams closed 7 years ago
Hi Stan, I apologize for taking so long to get back to you, I've been on vacation the last two weeks.
It looks like you're on a pretty old version of this gem. You could try bumping it to a slightly newer version, like 0.6.1 and see if it's fixed there. Alternatively, the only other thing I can think of (other then updating the gem) would be to try passing an empty array for that template_content
attribute.
Hi @renz45 thanks for your insight, indeed, upgrading the version of the gem solved the issue (without needing to pass an empty array). I just don't understand why the default version I got was not among last year releases, but anyway. Thanks!
Great! I'm glad it worked :)
I'm using mandrill templates that I have made on mailchimp mail editor then exported to mandrill. However, I have this error when doing my tests:
I understand that this error comes from the fact that I don't have
args[:template_content]
in my.mandril_mail(args)
method. However, it's not said in the documentation thatargs[:template_content]
is mandatory. Also, I guess that the content of the mailer is taken from the template I imported to mandrill.So I don't understand what is wrong. Here is in my mandrill mailer WelcomeMailer.rb:
which is simply called on my users_controller.rb:
Could you please help me ? :)