Sha256: ae270772a80794af2d3e18b2c72afb19c07a918172f9748042f0cf517c54f888

Contents?: true

Size: 180 Bytes

Versions: 2

Compression:

Stored size: 180 Bytes

Contents

# frozen_string_literal: true

class Person
  include Mongoid::Document
  include Mongoid::Suicide

  field :username, type: String
  field :age, type: Integer, default: '100'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongoid-suicide-0.5.0 spec/app/models/person.rb
mongoid-suicide-0.4.0 spec/app/models/person.rb