Skip to content

Instantly share code, notes, and snippets.

View rfischer20's full-sized avatar

Ryan Fischer rfischer20

View GitHub Profile
@rfischer20
rfischer20 / place.rb
Created November 15, 2011 21:45
Geospatial Indexing with MongoDB and Ruby Driver Example
#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|