I have the following question, I have the city(name, uf, province) model I'm trying to implement the sunspot search method, but I'm getting by:
# modelCity.rb
searchable do
text :name
end
# controller City
unless params[:search]...
asked by
25.02.2014 / 14:06