Sha256: 3d7c7d836d804f5f2a3b60ffde78f4296c36a4dff2c8026920b8988880966e9c

Contents?: true

Size: 296 Bytes

Versions: 5

Compression:

Stored size: 296 Bytes

Contents

# encoding: utf-8
module Mongoid #:nodoc:
  module Relations #:nodoc:
    module Referenced #:nodoc:

      class Many < Relations::Many

        def to_indexable(depth = 0)
          criteria.map do |doc|
            doc.to_indexable(depth)
          end
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
locomotivecms-search-0.3.6 lib/locomotive/search/concerns/mongoid/indexable_relationships.rb
locomotivecms-search-0.3.5 lib/locomotive/search/concerns/mongoid/indexable_relationships.rb
locomotivecms-search-0.3.4 lib/locomotive/search/concerns/mongoid/indexable_relationships.rb
locomotivecms-search-0.3.3 lib/locomotive/search/concerns/mongoid/indexable_relationships.rb
locomotivecms-search-0.3.2 lib/locomotive/search/concerns/mongoid/indexable_relationships.rb