Sha256: 31bb666f51032a412a63f98de26c2d58bd0671290c0bbb53d4d344b02b934beb

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

require 'active_support/concern'

module Georgia
  module Indexer
    module 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

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.7.7 lib/georgia/indexer/extensions/tire_adapter/acts_as_taggable_on/tag.rb