Sha256: 026fdcc379c53dfe80f4fe941237efa3809d3626692002412920fd24e697408d

Contents?: true

Size: 223 Bytes

Versions: 68

Compression:

Stored size: 223 Bytes

Contents

class Appointment
  include Mongoid::Document
  field :active, type: Mongoid::Boolean, default: true
  field :timed, type: Mongoid::Boolean, default: true
  embedded_in :person
  default_scope ->{ where(active: true) }
end

Version data entries

68 entries across 63 versions & 3 rubygems

Version Path
tdiary-5.0.8 vendor/bundle/gems/mongoid-6.4.0/spec/app/models/appointment.rb
mongoid-7.0.0 spec/app/models/appointment.rb
mongoid-6.4.0 spec/app/models/appointment.rb
mongoid-6.3.0 spec/app/models/appointment.rb
mongoid-6.2.1 spec/app/models/appointment.rb
mongoid-7.0.0.beta spec/app/models/appointment.rb
tdiary-5.0.5 vendor/bundle/gems/mongoid-6.1.0/spec/app/models/appointment.rb
tdiary-5.0.5 vendor/bundle/gems/mongoid-6.2.0/spec/app/models/appointment.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mongoid-6.1.0/spec/app/models/appointment.rb
mongoid-6.2.0 spec/app/models/appointment.rb
mongoid-6.1.1 spec/app/models/appointment.rb
mongoid-5.2.1 spec/app/models/appointment.rb
tdiary-5.0.4 vendor/bundle/gems/mongoid-6.1.0/spec/app/models/appointment.rb
mongoid-6.1.0 spec/app/models/appointment.rb
mongoid-5.2.0 spec/app/models/appointment.rb
mongoid-5.2.0.rc0 spec/app/models/appointment.rb
mongoid-6.1.0.rc0 spec/app/models/appointment.rb
mongoid-6.0.3 spec/app/models/appointment.rb
mongoid-5.1.6 spec/app/models/appointment.rb
mongoid-6.0.2 spec/app/models/appointment.rb