OK, it indeed works with puts - my bad, must've done something wrong
with the test.
Even explicit $scheduler.get_job(id).block.call works, when inside
method is just a puts.
Sorry for wasting Your time, I should've put more heart into testing.
And thank You once again for fast and to-the-point replies.

Now, the thing is, I'd like to send e-mails using Your library.
Plain NotifMailer.deliver_notify("praca skonczona", rand(100)) works
when executed anywhere withing the controller - be it "start" action's
beginning, end, or loop which schedules the jobs.

It just simply doesn't work when passed as a block to scheduled job.
It's ArgumentError and "constant missing" I'm getting when trying to
schedule sending e-mails.

Do You have any idea how could I solve that?


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