Sha256: 7692dc085b702c7f366cfef41b9169f6b1e8ca3dd371dd3021a8a91b5c66e57b

Contents?: true

Size: 194 Bytes

Versions: 3

Compression:

Stored size: 194 Bytes

Contents

class Foo < ApplicationRecord
  if OHMYLOG_ORM == :mongoid
    include Mongoid::Document
    field :name, type: String
    field :value, type: Integer
    include ::Mongoid::Timestamps
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oh_my_log-1.0.5 spec/dummy/app/models/foo.rb
oh_my_log-1.0.4 spec/dummy/app/models/foo.rb
oh_my_log-1.0.3 spec/dummy/app/models/foo.rb