class Mongoid::Relations::Referenced::Many

Public Instance Methods

to_indexable(depth = 0) click to toggle source
# File lib/locomotive/search/concerns/mongoid/indexable_relationships.rb, line 8
def to_indexable(depth = 0)
  criteria.map do |doc|
    doc.to_indexable(depth)
  end
end