[Backgroundrb-devel] Passing blocks to a worker
joshuabates at gmail.com
Fri Sep 8 16:36:10 EDT 2006
I'm trying to implement a callback system between my controller, and a
The goal being that I could send to the client via Juggernaut when an action
place in the worker. Something like this.
worker.subscribe :action do
render :update, :juggernaut => "channel" do |page|
There seems to be a couple problems with doing this.
First off, the binding of the block that gets sent from the controller is no
around by the time the block is called from the worker. I could get around
but I'm not able to get a block to run even when trying to call it with
Is anything like this doable, or am I just barking up the wrong tree?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel