Displaying 11 results from an estimated 11 matches for "offthelin".
Did you mean:
offtheline
2008 Apr 01
1
plugin announcement: acts_as_fu
...!"
Sounds like you''ve tried the rest - now try the best! That''s right:
it''s the new and improved ActsAsFu Rails plugin!
Three Easy Steps to Becoming a Rails Kung-Fu Master:
1. Stop web server
mongrel_rails stop
2. Install Plugin
./script/plugin install http://svn.offtheline.net/plugins/acts_as_fu
3. Start web server
mongrel_rails start
(note: if you''re using mongrel_cluster, thin, piston, or anything like
that, these instructions don''t apply to you - you figure it out
yourself, you Rockstar Ninja!)
Now you''re on your way to programming s...
2007 Dec 21
7
Using my models
I''m working on upgrading my app to the latest version of backgroundrb.
Everything went find until I tried to execute my tasks.
Here is my simple worker for testing:
class MscWorker < BackgrounDRb::MetaWorker
set_worker_name :msc_worker
def create(args = nil)
# this method is called, when worker is loaded for the first time
end
# Send a message to everyone
def
2007 Dec 24
2
backgroundrb script crashing on startup
...ails_env''
from /var/www/apps/rpg/releases/20071224034514/vendor/plugins/backgroundrb/server/master_worker.rb:143:in
`initialize''
from script/backgroundrb:39:in `new''
from script/backgroundrb:39
- Jason L.
--
My Rails and Linux Blog: http://offtheline.net
2007 Dec 19
6
thread_pooling sleeping
...ide with the "some read error" messages in the script.
Am I doing something wrong? Anyone have a working example using
thread_pool? Also, I''ve never used Mutex before, so if my usage is
off, please let me know.
Thanks very much,
- Jason L.
--
My Rails and Linux Blog: http://offtheline.net
2007 Dec 20
1
mocking a few things in the test helper
...is (attached). Also, the MetaWorker initialize
method was written as "initializes", causing the @logger never to be
set, causing undefined method errors reported as nil.info and
nil.debug (nil being the ''logger'' method).
- Jason L.
--
My Rails and Linux Blog: http://offtheline.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdrb_test_helper.patch
Type: text/x-patch
Size: 870 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20071220/37db8910/attachment.bin
2007 Dec 21
3
Jobs running too slow
Say I have a job that runs every minute, but it takes longer than a
minute to execute. Will it start a new job every minute?
If it does, then how would I make a job that sleeps for a certain
amount of time, then restarts? I have a job that could take an hour
or two to complete, and I don''t want to have multiple copies of that
job running at the same time.
Joe
2007 Dec 12
1
worker cleanup
...#39;'m
going to continue to do it this way, is there a way I can have the
worker delete itself when the work is done? Is this a bad idea? Or
should I be thinking about a way to use a single worker to handle the
multiple user tasks?
Thanks again,
- Jason L.
--
My Rails and Linux Blog: http://offtheline.net
2008 Jun 18
3
Best Way of Extracting Key Value from File
What is the best way of extracting a key value pair from a file.
For example I have an email text file which goes like so :
--
Return-Path: <atharshiraz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Delivered-To: test-ovehrGOUempiNnqEydH9iw@public.gmane.org
Date: Sat, 3 May 2008 18:25:13 -0400
From: "Athar Shiraz Siddiqui" <atharshiraz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008 Feb 01
3
Job Queue
After some initial stumblings, I think I''ve got the hang of
backgroundrb. It''s great! I''d been thinking for many many months how
cool something like this would be!
I''m trying to make a "job queue". That is, a pool of worker threads
monitor a queue. When a job appears, one of the workers grabs it and
executes the task. When complete, the worker
2008 Jan 03
5
Start script not working when run via Rake
Hi there
I''m using the latest release (r300) and ''script/backgroundrb start'' works
perfectly when executed on the server, but when put inside a Rake task, it
doesn''t launch the worker processes.
The Rake task is as follows:
task :start_backgroundrb do
run "cd #{current_path} && ./script/backgroundrb start"
end
When I run this task, the
2007 Dec 25
6
error: no marshal_dump is defined for class Thread
...ckgroundrb/framework/packet_master.rb:19:in
`run''
/var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/server/master_worker.rb:144:in
`initialize''
script/backgroundrb:41:in `new''
script/backgroundrb:41
- Jason L.
--
My Rails and Linux Blog: http://offtheline.net