Sha256: 5e3b2ea8ba44db52a8d3a9b31cb902a2f8cc653fa7875334809e9579c9cd4469

Contents?: true

Size: 204 Bytes

Versions: 27

Compression:

Stored size: 204 Bytes

Contents

# frozen_string_literal: true

class Location
  include Mongoid::Document
  field :name
  field :info, type: Hash
  field :occupants, type: Array
  field :number, type: Integer
  embedded_in :address
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
mongoid-8.1.9 spec/support/models/location.rb
mongoid-8.0.9 spec/support/models/location.rb
mongoid-8.1.8 spec/support/models/location.rb
mongoid-8.1.7 spec/support/models/location.rb
mongoid-8.1.6 spec/support/models/location.rb
mongoid-8.0.8 spec/support/models/location.rb
mongoid-8.1.5 spec/support/models/location.rb
mongoid-8.1.4 spec/support/models/location.rb
mongoid-8.0.7 spec/support/models/location.rb
mongoid-8.1.3 spec/support/models/location.rb
mongoid-8.1.2 spec/support/models/location.rb
mongoid-8.0.6 spec/support/models/location.rb
mongoid-7.5.4 spec/support/models/location.rb
mongoid-8.1.1 spec/support/models/location.rb
mongoid-8.0.5 spec/support/models/location.rb
mongoid-8.1.0 spec/support/models/location.rb
mongoid-7.5.3 spec/support/models/location.rb
mongoid-8.0.4 spec/support/models/location.rb
mongoid-8.0.3 spec/support/models/location.rb
mongoid-7.5.2 spec/support/models/location.rb