Sha256: 0a40cae36900c3012a2a6ee97f3c33fc66fc56bb73788659a44e26770b0aa84a

Contents?: true

Size: 192 Bytes

Versions: 2

Compression:

Stored size: 192 Bytes

Contents

class User < ActiveRecord::Base
  enum state: {
    happy: 0,
    sad: 1,
    neutral: 2
  }

  has_paper_trail
  # the column "empty" doesn't exist
  paper_trail_audit_for :state, :empty
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paper_trail-audit-0.0.7 test/dummy/app/models/user.rb
paper_trail-audit-0.0.6 test/dummy/app/models/user.rb