# Acts As Ferret no search results

**URL:** <https://www.ruby-forum.com/t/acts-as-ferret-no-search-results/169790>\
**Category:** Ferret\
**Created:** [June 8, 2009, 7:02pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-no-search-results/169790 "2009-06-08T19:02:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![manekineko](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@manekineko](https://www.ruby-forum.com/u/manekineko)\
**Post date:** [June 8, 2009, 7:02pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-no-search-results/169790/1 "2009-06-08T19:02:43Z")

</div>

I’m trying to learn Rails by following the tutorial in the  
Addison-Wesley book RailsSpace.

In the tutorial, there are a few models that are indexed with the  
acts\_as\_ferret line. I think that I have acts\_as\_ferret installed okay,  
because those lines and the find\_with\_ferret method calls all return  
okay. However, for some reason acts\_as\_ferret doesn’t seem to be  
properly creating its index. Starting from a deleted index, when I try  
to run a search for \* (or anything else), I’m getting no results. The  
log shows the following:

Will use local index.  
using index in D:/rails\_space/index/development/user  
[user] rebuild index with models: []  
[user] reopening index at D:/rails\_space/index/development/user  
[user] register class User with index user  
[user] default field list for index user: [“screen\_name”, “email”]  
index\_for [User(id: integer, screen\_name: string, email: string,  
password: string, created\_at: datetime, updated\_at: datetime,  
authorization\_token: string)]  
options: {:offset=\>0, :limit=\>:all, :page=\>nil}  
ar\_options: {}  
[user] stored\_fields: nil  
[user] query: \*  
–\>+(\* \*) +(class\_name:User)  
[user] now retrieving records from AR with options: {}  
[user] 0 results from AR: []  
Query: \*  
total hits: 0, results delivered: 0

Anyone have any ideas what could be wrong here? The only thing I can  
think of is an installation problem, especially since installation was  
pretty tough on my development machine which runs Windows. Following  
the wiki here:  
[http://rm.jkraemer.net/wiki/aaf](http://rm.jkraemer.net/wiki/aaf)  
I installed the ferret gem, the system-wide acts\_as\_ferret gem, I  
required acts\_as\_ferret in my environment.rb, I ran aafinstall in my  
project root, and I manually unzipped the acts\_as\_ferret plugin into my  
project vendor/plugins/acts\_as\_ferret directory (because for some reason  
both the SVN and the git methods just return with no response or action  
even though I have installed both). I admit I don’t entirely understand  
the relationship between all these different installation steps, but it  
seems like I have covered all the possibly redundant bases already? Of  
course, I would also really appreciate it if someone would take the time  
to explain the relation between these steps in installing.
