Generated UserMailer is heavily dependent on being called from ActionController
Reported by Matt Jones | November 30th, 2009 @ 04:37 PM | in Beyond Hobo 1.0
Not sure if there's a clean way to handle this, but the generated UserMailer falls over and dies if called from a non-controller context (ie, triggered from a rake task, etc.).
Is there a way to manually configure request_host? More importantly, how much of the ActionController plumbing do we actually need to get the app-name tag to render?
Comments and changes to this ticket
-
Bryan Larsen December 1st, 2009 @ 11:41 PM
- State changed from new to open
- Milestone changed from Hobo 1.0 - Final to Beyond Hobo 1.0
-
Betelgeuse September 28th, 2010 @ 08:48 AM
- Milestone order changed from 0 to 0
One important use case for removing the connection is being able to use delayed_job.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป