Sha256: 94e315eb57959e9aceb50b49aaf02938762e0bf9c07e1552eeaebf148d153496

Contents?: true

Size: 183 Bytes

Versions: 10

Compression:

Stored size: 183 Bytes

Contents

# frozen_string_literal: true

class Building
  include Mongoid::Document

  field :name, type: String

  embeds_one :building_address, validate: false
  embeds_many :contractors
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mongoid-8.1.9 spec/support/models/building.rb
mongoid-8.1.8 spec/support/models/building.rb
mongoid-8.1.7 spec/support/models/building.rb
mongoid-8.1.6 spec/support/models/building.rb
mongoid-8.1.5 spec/support/models/building.rb
mongoid-8.1.4 spec/support/models/building.rb
mongoid-8.1.3 spec/support/models/building.rb
mongoid-8.1.2 spec/support/models/building.rb
mongoid-8.1.1 spec/support/models/building.rb
mongoid-8.1.0 spec/support/models/building.rb