Sha256: 39af829f6baf82d8ff933472a9e226c9c8899ac0f4ebb37c01d8da1d063635c4

Contents?: true

Size: 126 Bytes

Versions: 10

Compression:

Stored size: 126 Bytes

Contents

class Document < ActiveRecord::Base
  has_paper_trail(
    versions: :paper_trail_versions,
    on: %i[create update]
  )
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
paper_trail_scrapbook-0.1.9 spec/dummy_app/app/models/document.rb
paper_trail_scrapbook-0.1.8 spec/dummy_app/app/models/document.rb
paper_trail_scrapbook-0.1.7 spec/dummy_app/app/models/document.rb
paper_trail_scrapbook-0.1.6 spec/dummy_app/app/models/document.rb
paper_trail_scrapbook-0.1.3 spec/dummy_app/app/models/document.rb
paper_trail_scrapbook-0.1.2 spec/dummy_app/app/models/document.rb
paper_trail_scrapbook-0.1.1 spec/dummy_app/app/models/document.rb
paper_trail_scrapbook-0.1.0 spec/dummy_app/app/models/document.rb
paper_trail_scrapbook-0.0.2 spec/dummy_app/app/models/document.rb
paper_trail-7.0.3 test/dummy/app/models/document.rb