[Backgroundrb-devel] Problems with ActiveRecord in workers
schoefma at cip.ifi.lmu.de
Fri Jul 7 14:34:10 EDT 2006
thank a lot for the fast answer!
I think this plugin is one of the most useful around.
> If you need to pass an active record object to one of your workers
> as an argument then you need to add one line of code to each model
> that you intend on using this way. So if the model you want to send
> from rails to the drb server is Post then you need to add this line:
> class Post < ActiveRecord::base
> include DRbUndumped
If my understanding of DRb is correct, this will stop me from storing
these objects in a session...
As a workaround, I will try to store them with BackgroundDRb instead of
More information about the Backgroundrb-devel