Sha256: f1bb73925a4e513c6f4141783efd5635c5b0d1737745a8dbf494b0221b49d8bf

Contents?: true

Size: 243 Bytes

Versions: 24

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true

class Code
  include Mongoid::Document
  field :name, type: String
  embedded_in :address
  embeds_one :deepest
end

class Deepest
  include Mongoid::Document
  embedded_in :code

  field :array, type: Array
end

Version data entries

24 entries across 24 versions & 1 rubygems

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