D. Taylor Singletary
2007-May-21 16:38 UTC
[Backgroundrb-devel] Helpers not available to ActionMailer classes in backgroundrb
Hi there, I''ve got a problem I''m hoping someone else has run into before and might have some tips on. I have an ActionMailer class where I''m manually including my application helper along with simply_helpful for use in my html emal templates. This works fine when calling the mailer class from another model class.. (example.. @order.deliver_emails would be a method that would call the deliver methods of my ActionMailer object. But when I offload the delivery of emails to a Backgroundrb process, even though I have these include statements in my mailer model (and have even tried including them within my worker library), I get an error triggered when sending emails out that it couldn''t utilize my helpers. Has anyone run into this and possibly have any advice to make my workers aware of the directives I have in my ActionMailer class? Thanks. D. Taylor Singletary, Reality Technician http://realitytechnicians.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070521/e8784479/attachment.html
Possibly Parallel Threads
- backgrounDRb problems with results and MiddleMan
- Arrays of Model Objects, Intersections, Object Identification... ?
- simply_helpful and edge
- Some tips for testing respond_to block and making controller tests work with simply_helpful
- ActionMailer doesn''t work in backgroundrb