# Ferret search not working for one model, works for others

**URL:** <https://www.ruby-forum.com/t/ferret-search-not-working-for-one-model-works-for-others/183210>\
**Category:** Ferret\
**Created:** [February 10, 2010, 12:51am UTC](https://www.ruby-forum.com/t/ferret-search-not-working-for-one-model-works-for-others/183210 "2010-02-10T00:51:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asplake](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/2bfe46/32.png) [@asplake](https://www.ruby-forum.com/u/asplake)\
**Post date:** [February 10, 2010, 12:51am UTC](https://www.ruby-forum.com/t/ferret-search-not-working-for-one-model-works-for-others/183210/1 "2010-02-10T00:51:32Z")

</div>

Hello,

So far I am using ferret in the most simple way, I just have included  
acts\_as\_ferret  
or  
acts\_as\_ferret :fields =\> [:login, :name]  
etc…  
in serval of my models, this works as expected for all of the models I  
have put it in except one, my users model. I am using the  
authenticated\_system and role\_requirement\_system libs that are pretty  
common. Just wondering if there is something that is being used by  
these libs and in the user model generated along w/ them that would  
cause ferret to not work.

here is what is in the ferret log  
index\_for [User(id: integer, user\_type: string, login: string, name:  
string, crypted\_password: string, salt: string, created\_at: datetime,  
updated\_at: datetime, remember\_token: string, remember\_token\_expires\_at:  
datetime, activation\_code: string, activated\_at: datetime,  
password\_reset\_code: string, enabled: boolean, identity\_url: string,  
invitation\_id: integer, invitation\_limit: integer, fettle\_account\_type:  
integer, address\_line\_1: string, address\_line\_2: string, city: string,  
postal\_zip\_code: string, country: string, province\_state: string,  
photo\_id: integer, email: string, professional\_type: string,  
organization\_type: string)]  
options: {:limit=\>nil, :offset=\>nil}  
ar\_options: {}  
[user] stored\_fields: nil  
[user] query: darren  
–\>+(login:darren professional\_type:darren organization\_type:darren  
remember\_token\_expires\_at:darren postal\_zip\_code:darren city:darren  
photo\_id:darren enabled:darren country:darren crypted\_password:darren  
province\_state:darren activated\_at:darren invitation\_limit:darren  
name:darren activation\_code:darren identity\_url:darren user\_type:darren  
salt:darren password\_reset\_code:darren fettle\_account\_type:darren  
address\_line\_1:darren updated\_at:darren created\_at:darren  
remember\_token:darren invitation\_id:darren email:darren  
address\_line\_2:darren) +(class\_name:User)  
[user] now retrieving records from AR with options: {}  
[user] 0 results from AR: []  
Query: darren  
total hits: 0, results delivered: 0
