> just override the ferret_enabled?(bool) instance method to check for a
 > class variable holding your class level disable-flag...

I know, but it's ugly, and indirect, and really not the way to do it
for this kind of use cases : bulk change, bulk import, ..

A class method is needed :

  Model.disable_indexing
  # bulk change
  Model.enable_indexing(true) # true => trigger a rebuild_index

Alain
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to