Sha256: 79eb3b476b0daab17452295c3b672851092328780030ecff968d2cf85e1f9b2b

Contents?: true

Size: 193 Bytes

Versions: 14

Compression:

Stored size: 193 Bytes

Contents

# frozen_string_literal: true
# encoding: utf-8

class Crate
  include Mongoid::Document

  embedded_in :vehicle
  embeds_many :toys

  accepts_nested_attributes_for :toys

  field :volume
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
mongoid-7.3.5 spec/support/models/crate.rb
mongoid-7.3.4 spec/support/models/crate.rb
mongoid-7.2.6 spec/support/models/crate.rb
mongoid-7.3.3 spec/support/models/crate.rb
mongoid-7.3.2 spec/support/models/crate.rb
mongoid-7.2.5 spec/support/models/crate.rb
mongoid-7.2.4 spec/support/models/crate.rb
mongoid-7.3.1 spec/support/models/crate.rb
mongoid-7.3.0 spec/support/models/crate.rb
mongoid-7.2.3 spec/support/models/crate.rb
mongoid-7.2.2 spec/support/models/crate.rb
mongoid-7.2.1 spec/support/models/crate.rb
mongoid-7.2.0 spec/support/models/crate.rb
mongoid-7.2.0.rc1 spec/support/models/crate.rb