search for: digimonkey

Displaying 3 results from an estimated 3 matches for "digimonkey".

2006 Aug 16
7
Forward of moderated message
...from rails through the middlwman. If you want to just fire and forget a worker then you want to call kill within the worker when it is done working. Other then that your code is fine. Give it another shot with some sleep in the loop. Cheers- -Ezra On Aug 16, 2006, at 10:25 AM, mattp at digimonkey.com wrote: > Weird is, I had it working a second ago and then reloaded the > webrick server and now it''s erroring out with: > > NoMethodError (You have a nil object when you didn''t expect it! > The error occured while evaluating nil.progress): > /app/contr...
2006 Aug 16
1
newbie needs help
I''m sure this is the billionth newbie help request on here, but I sure am hitting my head against the wall on this. I''ve tried numberous of Ezra''s examples that I was able to find online. The best I''m able to get is nothing happens and development log says: NoMethodError (undefined method `progress'' for #<PingWorker:0x3a786c0>):
2006 Sep 06
0
rescue?
Probably a simple question, but humor me: Let''s say I have a page (in Rails) that lets a user type a shell command (say, ''ping blah.com'') into a form and it fires off a worker that then updates that page using AJAX (all of this is working so far). How would I correctly wrap the worker in a begin..rescue so that it spits out ''invalid command''