On Wed, Mar 14, 2007 at 07:06:09PM +0100, jeroen janssen wrote: > >> I'm using acts_as_ferret in with a mongrel and I' m getting locking > >> errors that after a while result in a corrupt database. > > > > what version of ferret do you use? the latest ferret versions (0.11.x) > > should show a much better behaviour with shared index access. > > Thanks.. that seems to work a little better. unfortunately I'm still > having some problems. > > The best solution would probably be to get DRB server to work, but I > haven't had much luck with that yet.
what were your problems? > As a temporary solution I was > thinking of just not let the model index itself on create but do a > scheduled rebuild every hour or something. Is there any way to have a > acts_as_ferret model not update de index automatically? yeah, override the ferret_enabled? instance method to return false so the automatic indexing is skipped. In aaf trunk this method has an optional boolean parameter that indicates if it is called from rebuild_index (true) or not (false, default). Before that it has not been called when the index was rebuilt. 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

