iron_worker_rails_example icon indicating copy to clipboard operation
iron_worker_rails_example copied to clipboard

UrlHelpers

Open nsoufr opened this issue 10 years ago • 1 comments

Hei guys,

I'm trying to send an email that calls projects_url method inside view mailer, which resolves http://www.mydomain.com/projects, but i'm getting error below, anyone can help me?

undefined method 'projects_url' for #<#<Class:0x007fc0c4ea4188>:0x007fc0c492ba08> (ActionView::Template::Error)

nsoufr avatar Oct 08 '14 15:10 nsoufr

Better to pass into worker urls from rails app(as payload) rather than try to use rails helpers inside worker (too much to merge and initialize)

rkononov avatar Oct 08 '14 15:10 rkononov