Sha256: 7418d417747e5e852d86bf69db31f343fb4a5249f7b274b2ec71fec01b047432

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

if defined?(Tire)
  require 'tire'
  Dir[File.join(File.dirname(__FILE__), 'extensions', 'tire_adapter', '*.rb')].each {|file| require file }
end

module Georgia
  module Indexer
    class TireAdapter

      # Delegate search to the model
      def search model, params
        model.search model, params
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.7.6 lib/georgia/indexer/tire_adapter.rb