On Tue, Mar 06, 2007 at 02:18:34PM +0100, neongrau __ wrote:
> Jens Kraemer wrote:
> s_disabled" / "dont_index" has a certain value?
> > 
> > just override the ferret_enabled? instance method.
> > 
> 
> hallo jens!
> 
> so i just put s.th. like this into my model?
> 
> def ferret_enabled?
>   self.is_deleted ? false : true
> end
> 
> and aaf will skip the record when indexing?

that's right. 

However this does not apply to index rebuilds, please see my other
recent mail to the list for a solution to this problem.

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