Displaying 3 results from an estimated 3 matches for "email_updates".
2005 Nov 07
0
Using Layouts with ActionMailer when sending html formatted emails
...how to get the layout specified. I am calling the Mailer class
method to send the email from within the articles controller (for those
familiar with typo). I know about setting the layout in the Render command
from reading the Rails book, but where would I do so here? I fire off the
Mailer::deliver_email_updates() command and it ''renders'' the email based
upon the email_updates method in my Mailer Class (Mailer <
ActionMailer::Base).
I''ve even tried setting the layout in the hash that I send to the body, and
tried various naming conventions to see if it will get automatically...
2007 May 16
1
belongs_to trigger on update?
This may be a rails bug, but I can''t figure out how to do attribute
overrides for the attribute created for a belongs_to relationship
I have a simple relationship:
User belongs_to Domain
User has a property email_address which I want to update if Domain is
ever changed
I tried in User
def domain=(new_domain)
super
end
but now the ability to assign new domains is totally
2006 Oct 31
9
Problems with mongrel dying
Hi
One of the two mongrel processes has died in the middle of the night
four times in the past 9 days, and I need help debugging this.
Each time the symptoms are the same:
* Each time I can restart the process via cap -a restart_app.
* Before the restart, there is nothing unusual in production.log or
mongrel.log.
* During the restart, about 100 repetitions of an error message are
generated in