I have a rails project with ferret working on it. Also I have some tables with french and spanish names in there. That contains characters like: á, à. ü, etc. When I made a search I only use common characters and that makes me impossible to find in the database something like "bèrché" using a keyword like "berche". I tried to replace the vocals with a wildcard like "?" or "*", but it doesn't seems to work.
Here is the code:
# controller
default_options = {:limit => :all}
@results_ferret = Model.find_with_ferret(params["search_words"], default_options)
# model
class Model < ActiveRecord::Base
require 'acts_as_ferret'
acts_as_ferret({:fields => [:region, :origin, :something, :name, :content], :remote => true})
end
Any ideas how to proceed?