app/models/map/extensions/loc.rb
# convert the object which was supplied to a criteria, and convert it to mongoid-friendly type
convert the object which was supplied to a criteria, and convert it to mongoid-friendly type
convert the object which was supplied to a criteria and convert it to mongoid - friendly type
def evolve(object)
      case object
      when self
        object.mongoize
      else
        object
      end
    end
def evolve ( object ) case object when self object . mongoize else object end end
convert the object which was supplied to a criteria, and convert it to mongoid-friendly type
convert the object which was supplied to a criteria and convert it to mongoid - friendly type
# unknown type
object
<not_specific>