Sha256: 96eab364128c11fdb78f9d976b57b8b923635e20c309b67ee6396fa7dc3e4186

Contents?: true

Size: 184 Bytes

Versions: 13

Compression:

Stored size: 184 Bytes

Contents

# frozen_string_literal: true
# encoding: utf-8

class Driver
  include Mongoid::Document
  has_one :vehicle
  accepts_nested_attributes_for :vehicle
end

require "app/models/learner"

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
mongoid-7.1.11 spec/app/models/driver.rb
mongoid-7.1.10 spec/app/models/driver.rb
mongoid-7.1.9 spec/app/models/driver.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/mongoid-7.1.7/spec/app/models/driver.rb
mongoid-7.1.8 spec/app/models/driver.rb
mongoid-7.1.7 spec/app/models/driver.rb
mongoid-7.1.6 spec/app/models/driver.rb
mongoid-7.1.5 spec/app/models/driver.rb
mongoid-7.1.4 spec/app/models/driver.rb
mongoid-7.1.2 spec/app/models/driver.rb
mongoid-7.1.1 spec/app/models/driver.rb
mongoid-7.1.0 spec/app/models/driver.rb
mongoid-7.1.0.rc0 spec/app/models/driver.rb