After I comment out the aforementioned require and put
NotifMailer.deliver_notify right under class
AuctionController < ApplicationController
And it sends email successfully.

I'll write today's learnings in a blog maybe, but I think You should
mention that if scheduler is supposed to use Rails classes, they
should be explicitly included in the calling controller.

Attempts to use Schedulable class failed (funny, I've tried that a few
hours ago and it worked), rails somehow cannot require/load/include
this file.

PS. Oh, and there are no instances of Mailer class - it's based on
using class methods, generated dynamically via reflection (thus notify
method is called by NotifMailer.deliver_notify)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to