[Backgroundrb-devel] Passing objects to drb, does it keep the existing db connection?
Ben Johnson
bjohnson at contuitive.com
Wed Jul 19 17:36:57 EDT 2006
I have a simple question. Let's say I do this in one of my models:
after_save
drb_conn.some_method(self)
end
When that object gets over to the background process is it the exact
same as?....
Model.find some_id #in the background process
As far as my background process is concerned passing the object is
not any different than passing the id and using the find method?
Because when I try to inspect the object that has been passed over I
don't get the typical .inspect output that you get from object of
models.
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060719/cb2d4bfb/attachment-0001.html
More information about the Backgroundrb-devel
mailing list