# Acts\_as\_ferret query sintax

**URL:** <https://www.ruby-forum.com/t/acts-as-ferret-query-sintax/159654>\
**Category:** Ferret\
**Created:** [February 6, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-query-sintax/159654 "2009-02-06T18:51:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iuranchita](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/41988e/32.png) [@iuranchita](https://www.ruby-forum.com/u/iuranchita)\
**Post date:** [February 6, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-query-sintax/159654/1 "2009-02-06T18:51:06Z")

</div>

Hello!

i’m really new with acts\_as\_ferret, a just started yesterday and english  
is not my native language, so i’m sorry, if it’s too bad.

i have been practicing and i’m able to make simple searchs without  
troubles. But, for example, i have a text\_field y then i enter “red  
car”, and the program find the records which have “red car”, however, it  
doesn’t find records that only have “car” or “red”.

The thing is that i need manipulate the field\_text like single words and  
not like a single sentence.

I hope you understand and help me because i can’t find the answer by  
myself.

Thank you

Bye!

---

<div class="post-metadata">

**Author:** ![iuranchita](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/41988e/32.png) [@iuranchita](https://www.ruby-forum.com/u/iuranchita)\
**Post date:** [February 6, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-query-sintax/159654/2 "2009-02-06T18:52:30Z")

</div>

I forgot it!!!

the code than i’m using is :  
@repos = Repo.find\_with\_ferret(params[:query])

bye!
