0
내가 듣고 그 라이브러리는
mongoid-geospatial을 구현하려고 초기화되지 않은 일정 포인트를 mongoid하지만 그들은 모두 나를 위해 정의되지 않는다이 클래스 Point
을 언급. 내가 뭘 놓치고 있니?
나는 당신은 proper namespace에서 그것을 해결해야 ActiveSupport :: 우려
module Mappable
extend ActiveSupport::Concern
included do
include Mongoid::Geospatial
field :coordinates, type: Point, spatial: true
spatial_scope :coordinates
초기화되지 않은 일정하게 매핑 :: 포인트 (나가서 설명하자면 NameError)