pioz/ximate — Issue #2: undefined method `asearch' for #<Class:0x7f5fbe599b40> 
Author: frugardc
Created: 2011-11-04 15:46:12+00:00
State: open

The asearch method doesn't fly.

undefined method `asearch' for #

Seems that my bundle has everything included...

irb(main):002:0> Ximate
=> Ximate
irb(main):003:0> Ximate::OPTIONS
=> {:match_error_percent=>20, :ignore_word_short_than=>2, :debug=>false, :logger=>true}
irb(main):004:0>

Here is my model...

class Geocode < ActiveRecord::Base
define_index do
add_text address, 3
add_text clli, 2
add_text street, 2
add_text city, 2
add_text state, 2
add_text zip, 1
add_text county, 2
end
set_table_name "locations"