On 7/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> A quick reply: it's not required anywhere, it's just a model from
> scripts/generate Mailer NotifMailer
>
> its source:
> class NotifMailer < ActionMailer::Base
>
> def notify(message, id, sent_at = Time.now)
> @message = message
> @id = id
> @subject = "Finidhed, ##{id}"
> @body = { 'message' => message}
> @recipients = '[EMAIL PROTECTED]'
> @from = 'mail script'
> @sent_on = sent_at
> @headers = {}
> end
> end
>
> Should I explicitly require it anywhere?
I don't think so.
I'm no Rails expert, but the notify method is an instance method and
you seem to schedule it as a class method...
--
John Mettraux -///- http://jmettraux.openwfe.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---