I just installed the latest tanker gem and began following the instructions in the readme, but the conditions block doesn't seem to be recognized:
undefined method `conditions' for #<Tanker::ModelConfig:0x007fdd84551270>
My model looks like this:
class Region < ActiveRecord::Base
include Tanker
....
tankit 'my_index' do
conditions do
indexable?
end
indexes :name
end
def indexable?
self.name?
end
end