Forum: Ferret acts_as_ferret query sintax

Posted by Romina Castillo (iuranchita)
on 2009-02-06 18:51
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!
Posted by Romina Castillo (iuranchita)
on 2009-02-06 18:52
I forgot it!!!

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

bye!
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.