Forum: Ferret acts_as_ferret query sintax

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Af3e7006b5dec6098012c2a35e92aaf2?d=identicon&s=25 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!
Af3e7006b5dec6098012c2a35e92aaf2?d=identicon&s=25 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!
This topic is locked and can not be replied to.