Class PaperTrail::RecordHistory
In: lib/paper_trail/record_history.rb
Parent: Object

Represents the history of a single record. @api private

Methods

index   new  

Public Class methods

@param versions - ActiveRecord::Relation - All versions of the record. @param version_class - Class - Usually PaperTrail::Version,

  but it could also be a custom version class.

@api private

Public Instance methods

Returns ordinal position of `version` in `sequence`. @api private

[Validate]