Sha256: d5a7acefbd13ff0e0b18160e1dda98bab75be9cd2d9b4331ddfc5d21286f42e3

Contents?: true

Size: 173 Bytes

Versions: 94

Compression:

Stored size: 173 Bytes

Contents

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

94 entries across 89 versions & 8 rubygems

Version Path
mongoid-7.0.13 spec/app/models/location.rb
mongoid-7.0.12 spec/app/models/location.rb
mongoid-6.4.8 spec/app/models/location.rb
mongoid-7.0.11 spec/app/models/location.rb
mongoid-7.0.10 spec/app/models/location.rb
mongoid-6.4.7 spec/app/models/location.rb
mongoid-6.4.5 spec/app/models/location.rb
mongoid-7.0.8 spec/app/models/location.rb
mongoid-7.0.7 spec/app/models/location.rb
mongoid-7.0.6 spec/app/models/location.rb
mongoid-5.4.1 spec/app/models/location.rb
mongoid-7.0.5 spec/app/models/location.rb
mongoid-7.0.4 spec/app/models/location.rb
mongoid-6.4.4 spec/app/models/location.rb
mongoid-7.0.3 spec/app/models/location.rb
mongoid-6.4.2 spec/app/models/location.rb
mongoid-7.0.2 spec/app/models/location.rb
mongoid-7.0.1 spec/app/models/location.rb
mongoid-6.4.1 spec/app/models/location.rb
mongoid-5.4.0 spec/app/models/location.rb