search for: lalo

Displaying 6 results from an estimated 6 matches for "lalo".

Did you mean: lado
2007 Mar 29
1
Extending the to_s method
...d to extend the to_s method for the Time class. What I want to do: when someone does date.to_s(:short) that a localized version of the :short date is displayed. But I don''t know how to accomplish this. I know have this: class Time def to_s(option) print option.to_yaml ''lalo'' end end Jepp... it prints all the the times to ''lalo'' :) But how do I adjust this method so that only in the case of :short the return value is modified? Something like: if option == :short { return self.strftime("%Y %D %E") } Or is there more to it? T...
2005 May 04
0
[LLVMdev] Re: stacker doc
Hi Lalo, Its been a while since I've had a Stacker question! The answer is in the StackerCompiler::handle_while function in StackerCompiler.cpp in projects/Stacker/lib/compiler. Apparently the control value is only examined (not popped) for the "WHILE" operator. Take for example the prime...
2007 Nov 14
1
couple of questions
I''m using the latest backgroundrb. Do I need to setup a worker in order to use it with Rails? I remember using "Worker::RailsBase" before. Also, how do I access the logger from within the worker? Thanks a lot! -- Lalo
2006 Nov 21
1
rendering from within a worker
...at I currently create with an .rxml template. Can I run a controller action from within a worker ? Can I render() a template from within a worker ? Sorry, I haven''t grasped the whole rails/backgroundrb relationship so I don''t know what I can and not do. Thanks for any help. -- Lalo
2006 Nov 20
2
schedule support on latest svn, a question
...7:04:52 CST 2006jobbleh #<BackgrounDRb::Trigger:0xb76b66d4> As far as I can tell backgroundrb loads my worker but I don''t see any indication that its being ran every minute. At least not in development.log and backgroundrb_server.log Am I missing something ? Thanks in advance. -- Lalo
2006 Nov 07
1
scheduled jobs with cron
...backgroundrb. But I wonder, can I call backgroundrb with a ruby script from cron ? I know I could create a cron job that calls lynx (or whatever) on a specific page that will call backgroundrb, but I want to know if there other "friendlier" ways to use backgroundrb with cron. Thanks! -- Lalo