Displaying 6 results from an estimated 6 matches similar to: "Testing your workers"
2007 Feb 07
2
ncluding backgroundrb issue
I have the next including files structure :
- controller fileaA.rb including line (#8): require "fileB"...
- /lib/fileB.rb with main header: load ''backgroundrb/worker.rb''
load ''backgroundrb/
worker_rails.rb''
class FileB <
2006 Sep 07
8
what should be correct .conf file for being served by apache for static content
Recently while i turned on USR1 debugging...mongrel running behind
Apache2.2threw following debugging messages:
Thu Sep 07 15:58:30 IST 2006: 0 threads sync_waiting for /charts/%5EBSESN, 1
still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for
/images/tab_but_normal1.png, 3 still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for
2007 Feb 16
1
Starting / stopping background rb when apache starts/stops
Hello -
I would like to figure out a way to have backgroundrb start/stop with the
same UID that dispatch.fcgi uses, at the same point in time that apache is
started/stopped. I see a technique that seems plausable in this archive
message:
http://rubyforge.org/pipermail/backgroundrb-devel/2007-February/000723.html
which addresses the starting aspect, in a lazy fashion. That seems fine,
2006 Mar 10
0
WEBrick crashing
ruby 1.8.2 (2004-12-25) [i386-mswin32]
latest version of edge rails - patched to make the server work with
win32 (http://dev.rubyonrails.org/ticket/4139)
On some pages WEBrick is crashing with the following:
d:/programming/ruby/lib/ruby/1.8/profiler.rb:27: You have a nil object
when you
didn''t expect it! (NoMethodError)
You might have expected an instance of Array.
The error occured
2006 Sep 04
2
"include" versus "extend" - what's the difference
Hi,
Just wondering when one would use "include" over "extend"? Both seem to
bring in methods to the class no?
The context is I''m just trying to understand why both are used with the
acts_as_audited plugin:
Full extract from plugin (used within here):
==================================================
# Copyright (c) 2006 Brandon Keepers
#
# Permission is hereby
2007 Jan 05
8
Rails 1.2: Release Candidate 2
This is it. We''re a mere two shakes of a lamb''s tail from releasing
the final version of Rails 1.2. But before we light the fireworks and
pop the champaign, we''ll just do one itsy, bitsy, tiny test run. Like
wearing protection glasses in downtown Copenhagen on New Year''s. You
know, just for precautions.
So please do give it a good run. We''re looking