Class: PaperTrail::Version

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
VersionConcern
Defined in:
lib/paper_trail/frameworks/active_record/models/paper_trail/version.rb

Overview

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`.

Method Summary

Methods included from VersionConcern

#changeset, #index, #next, #object_deserialized, #paper_trail_originator, #previous, #reify, #sibling_versions, #terminator