# \[Q\] acts\_as\_ferret : how to initialize index

**URL:** <https://www.ruby-forum.com/t/q-acts-as-ferret-how-to-initialize-index/52109>\
**Category:** Rails\
**Created:** [January 11, 2006, 12:53am UTC](https://www.ruby-forum.com/t/q-acts-as-ferret-how-to-initialize-index/52109 "2006-01-11T00:53:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/da6949/32.png) [@cwd](https://www.ruby-forum.com/u/cwd)\
**Post date:** [January 11, 2006, 12:53am UTC](https://www.ruby-forum.com/t/q-acts-as-ferret-how-to-initialize-index/52109/1 "2006-01-11T00:53:42Z")

</div>

Suppose I have an existing database and would like to use ferret. What’s  
an easy way to ferretize the existing data in a table?

Thanks

---

<div class="post-metadata">

**Author:** ![cwd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/da6949/32.png) [@cwd](https://www.ruby-forum.com/u/cwd)\
**Post date:** [January 11, 2006, 5:27pm UTC](https://www.ruby-forum.com/t/q-acts-as-ferret-how-to-initialize-index/52109/2 "2006-01-11T17:27:02Z")

</div>

We took one of the acts\_as\_ferret implementations found at  
[http://ferret.davebalmain.com/trac/wiki/FerretOnRails](http://ferret.davebalmain.com/trac/wiki/FerretOnRails) and modified it  
a little to fit our project’s needs. Unfortunately, it looks like  
[davebalmain.com](http://davebalmain.com) is down at the moment.

The implementations were posted and discussed in the following rails  
thread: [http://thread.gmane.org/gmane.comp.lang.ruby.rails/32709](http://thread.gmane.org/gmane.comp.lang.ruby.rails/32709). The  
implementation in  
[http://article.gmane.org/gmane.comp.lang.ruby.rails/35112](http://article.gmane.org/gmane.comp.lang.ruby.rails/35112) is what we  
started with. It even has a simple rake task for rebuilding the  
index.

So far it is working well for us. Good luck.

-Lee

---

<div class="post-metadata">

**Author:** ![cwd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/da6949/32.png) [@cwd](https://www.ruby-forum.com/u/cwd)\
**Post date:** [January 12, 2006, 3:52am UTC](https://www.ruby-forum.com/t/q-acts-as-ferret-how-to-initialize-index/52109/3 "2006-01-12T03:52:36Z")

</div>

> Unfortunately, it looks like  
> [davebalmain.com](http://davebalmain.com) is down at the moment.

It’s back up again. Looks like I got back from my holidays just in time.  
🙂
