Here is our rake task which uses a slightly different version of
acts_as_ferret.  It will try to load up all models in app/models and
call ferret_update on each instance.

On 3/2/06, aroth <[EMAIL PROTECTED]> wrote:
> Jens,
>
> Your fix works great. Thank you. Another quick question. I notice the
> "rebuild_index.rb" in the plugin dir. If I try to run this directly, it
> doesnt want to run (complains about not being able to require 'ferret').
> Anyway, I'd like to know how I can use Ferret or acts_as_ferret to index
> all of my existing content based on the fields/models I have declared as
> 'acts_as_ferret'. Right now, they are added to the index after any CRUD
> operation -- is there a way to force this outside of the scope of the
> web?
>
> Thanks
> Adam
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ferret-talk mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk
>

Attachment: indexer.rake
Description: Binary data

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

Reply via email to