Sha256: 803d402dfd135bb2b13ef7409d4cc107a895b2f6e8319ed1c7a0ff9c9a490f24

Contents?: true

Size: 139 Bytes

Versions: 69

Compression:

Stored size: 139 Bytes

Contents

class Template
  include Mongoid::Document
  field :active, type: Mongoid::Boolean, default: false
  validates :active, presence: true
end

Version data entries

69 entries across 64 versions & 3 rubygems

Version Path
mongoid-7.0.13 spec/app/models/template.rb
mongoid-7.0.12 spec/app/models/template.rb
mongoid-6.4.8 spec/app/models/template.rb
mongoid-7.0.11 spec/app/models/template.rb
mongoid-7.0.10 spec/app/models/template.rb
mongoid-6.4.7 spec/app/models/template.rb
mongoid-6.4.5 spec/app/models/template.rb
mongoid-7.0.8 spec/app/models/template.rb
mongoid-7.0.7 spec/app/models/template.rb
mongoid-7.0.6 spec/app/models/template.rb
mongoid-5.4.1 spec/app/models/template.rb
mongoid-7.0.5 spec/app/models/template.rb
mongoid-7.0.4 spec/app/models/template.rb
mongoid-6.4.4 spec/app/models/template.rb
mongoid-7.0.3 spec/app/models/template.rb
mongoid-6.4.2 spec/app/models/template.rb
mongoid-7.0.2 spec/app/models/template.rb
mongoid-7.0.1 spec/app/models/template.rb
mongoid-6.4.1 spec/app/models/template.rb
mongoid-5.4.0 spec/app/models/template.rb