This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Example queries using the MongoDB Ruby Driver not a pattern for development | |
require 'mongo' | |
class Place | |
attr_accessor :name, :_id, :dis | |
def initialize args={} | |
args.each do |k,v| |