> Very interesting.
>
> I will try to reproduce that with a tiny Rails application (with a
> "puts 'nada'" instead of "NotifMailer...").
>
> Meanwhile if you get more info, please post it here.
>

I've tried it with puts "sometext" of course, the flaw in mailer
object is the first thing I suspected. But it's OK. Should've posted
this one with a puts block, my bad.

Another funny thing: if the block Proc object is still there, I've
decided to kick it manually from mentioned "ping" action (which is
responsible for checking pending actions and printing/emailing info
about them - it's still a test app). So, an attempt to do:
   $scheduler.get_job(id).block.call
results in
ArgumentError (A copy of AuctionController has been removed from the
module tree but is still active!):
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependencies.rb:237:in `load_missing_constant'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependencies.rb:468:in `const_missing'
    .//app/controllers/auction_controller.rb:22:in `start'
    .//app/controllers/auction_controller.rb:50:in `call'
    .//app/controllers/auction_controller.rb:50:in `ping'

Relevant lines:
22: [action "start"] $jobs[i]["id"] = $scheduler.schedule_in(rand(10)
+ 5) {  NotifMailer.deliver_notify("...", rand(100)) }
50: [action "ping"] $scheduler.get_job(id).block.call


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