Acts_as_ferret query sintax


#1

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!


#2

I forgot it!!!

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

bye!