Sha256: e1e9cfa50ab251be103ecfe10968a2d339c0f181953a48c8107bea3eeb240284

Contents?: true

Size: 277 Bytes

Versions: 2

Compression:

Stored size: 277 Bytes

Contents

module Georgia
  module Indexer
    module TireAdapter

      require 'tire' if defined?(Tire)

      class << self

        # Delegate to .search_index on the model
        def search model, params
          model.search_index(params)
        end

      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
georgia-0.7.8 lib/georgia/indexer/tire_adapter.rb
georgia-0.7.7 lib/georgia/indexer/tire_adapter.rb