Displaying 1 result from an estimated 1 matches for "benhank".
2007 Nov 16
1
problem with searching plurals (with apostrophe)
...=> 1 },
:name_for_sort => {:index => :untokenized}
}
and i search using this code in my Stores controller
@products = Store.find_by_contents params[:q].to_s.upcase+"*"
for e.g i have a Stores with name as
"benhank''s coffee outlet"
when i search for "benhank" i get the resultant store as expected.
but when i search with param as "benhank''s" or "benhanks" ---
i dont get anyresults.
atleast i shud have got the result for search with "benhank...