On Wed, Jun 27, 2007 at 11:52:09AM +0200, Jonathan Viney wrote:
> I was just trying to use acts_as_ferret with DRb and filter_proc,
> without much success. My guess is that this isn't possible because
> there's no way to send the proc to the DRb server, correct?
> 
> Person.find_by_contents("jonathan", :filter_proc => proc {}) causes an
> exception when using DRb (DRb::DRbConnError: DRb::DRbServerNotFound).

afaik acts_as_ferret has no such option. But you're right, Procs across
DRb is not that easy, if possible at all. I don't know what you want to
do in that proc, maybe some simple active record conditions can do what
you want?

Jens
 

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to