Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.233 kb
class Bar
include Mongoid::Document
include Mongoid::Spacial::Document
field :name, :type => String
field :location, :type => Array, :spacial => true
references_one :rating, :as => :ratable
spacial_index :location
end
Jump to Line
Something went wrong with that request. Please try again.