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

Failure when generating links in background jobs #23

Open
key88sf opened this issue Jul 22, 2011 · 0 comments
Open

Failure when generating links in background jobs #23

key88sf opened this issue Jul 22, 2011 · 0 comments

Comments

@key88sf
Copy link

key88sf commented Jul 22, 2011

I have some emails which are generated with delayed jobs, so there is no actual request at the time the emails are created. However they have many calls to generate links such as new_user_url(...), etc. All of these fails because there is no request.

It would be nice to be able to set a "fake" subdomain which is used during the processing of these jobs so any calls to url_for functions will work. Any ideas for this?

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