Sha256: e26c50e5938947e0a5686af9ea779713819ec74b899364ac9385876f37153677

Contents?: true

Size: 544 Bytes

Versions: 21

Compression:

Stored size: 544 Bytes

Contents

# frozen_string_literal: true

require "paper_trail/version_concern"

module PaperTrail
  # This is the default ActiveRecord model provided by PaperTrail. Most simple
  # applications will use this model as-is, but it is possible to sub-class,
  # extend, or even do without this model entirely. See documentation section
  # 6.a. Custom Version Classes.
  #
  # The paper_trail-association_tracking gem provides a related model,
  # `VersionAssociation`.
  class Version < ::ActiveRecord::Base
    include PaperTrail::VersionConcern
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
paper_trail-9.2.0 lib/paper_trail/frameworks/active_record/models/paper_trail/version.rb