Sha256: f71ebac0a6458b11c7103e7717af771b84ed640db10fb384ad742f6486d2863d

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

require 'active_support/concern'

module Georgia
  module Indexer
    class TireAdapter
      module ActsAsTaggableOnTagExtension

        extend ActiveSupport::Concern

        included do

          include ::Tire::Model::Search
          include ::Tire::Model::Callbacks

          def to_indexed_json
            {name: name}.to_json
          end

        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
georgia-0.7.6 lib/georgia/indexer/extensions/tire_adapter/acts_as_taggable_on_tag.rb
georgia-0.7.5 lib/georgia/indexer/extensions/tire_adapter/acts_as_taggable_on_tag.rb
georgia-0.7.4 lib/georgia/indexer/extensions/tire_adapter/acts_as_taggable_on_tag.rb