Forum: Ferret acts_as_ferret query sintax

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Romina C. (Guest)
on 2009-02-06 19:51

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

Thank you

Romina C. (Guest)
on 2009-02-06 19:52
I forgot it!!!

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

This topic is locked and can not be replied to.