Sha256: e6aa6315454eed08f49836974894af19d99abe97a23beb2ac7856c6893783843

Contents?: true

Size: 188 Bytes

Versions: 18

Compression:

Stored size: 188 Bytes

Contents

class Bar
  include Mongoid::Document
  field :name, type: String
  field :location, type: Array
  field :lat_lng, type: LatLng

  has_one :rating, as: :ratable
  index location: "2d"
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
mongoid-paranoia-1.1.0 spec/app/models/bar.rb
mongoid-paranoia-1.0.1 spec/app/models/bar.rb
mongoid-3.1.7 spec/app/models/bar.rb
mongoid-paranoia-1.0.0 spec/app/models/bar.rb
mongoid-versioning-1.0.0 spec/app/models/bar.rb
mongoid-paranoia-1.0.0.beta2 spec/app/models/bar.rb
mongoid-versioning-1.0.0.beta2 spec/app/models/bar.rb
mongoid-paranoia-1.0.0.beta1 spec/app/models/bar.rb
mongoid-versioning-1.0.0.beta1 spec/app/models/bar.rb
mongoid-3.1.6 spec/app/models/bar.rb
mongoid-3.1.5 spec/app/models/bar.rb
mongoid-paranoia-0.3.0 spec/app/models/bar.rb
mongoid-paranoia-0.2.1 spec/app/models/bar.rb
mongoid-versioning-0.2.0 spec/app/models/bar.rb
mongoid-paranoia-0.2.0 spec/app/models/bar.rb
mongoid-paranoia-0.1.1 spec/app/models/bar.rb
mongoid-versioning-0.1.0 spec/app/models/bar.rb
mongoid-paranoia-0.1.0 spec/app/models/bar.rb