Raymond O'connor wrote:
> I think I figured it out.  I edited the following:
> 
> instance_methods.rb#ferret_create
> line 85 I changed to:
>  self.class.ferret_index << self.to_doc if !configure[:ignore_flag] or 
> self.send(configure[:ignore_flag]) == true
> 
> class_methods.rb#rebuild_index
> I made the same change to line 199:
>   index << rec.to_doc if  !configure[:ignore_flag] or 
> self.send(configure[:ignore_flag]) == true
> 
> Jens do you think you could add this functionality to AAF in a future 
> update?  It would be much appreciated!  Thanks again so much for the 
> great plugin.
> 
> Cheers!
> -Ray

Whoops, I made a typo above.  Configure should be configuration so the 
changes should actually read

instance_methods.rb#ferret_create
line 85 I changed to:
 self.class.ferret_index << self.to_doc if !configuration[:ignore_flag] 
or
self.send(configuration[:ignore_flag]) == true

class_methods.rb#rebuild_index
I made the same change to line 199:
  index << rec.to_doc if  !configuration[:ignore_flag] or
self.send(configuration[:ignore_flag]) == true

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to