module PaperTrail::Model::InstanceMethods

Wrap the following methods in a module so we can include them only in the ActiveRecord models that declare ‘has_paper_trail`.

Public Instance Methods

paper_trail() click to toggle source

@api public

# File lib/paper_trail/has_paper_trail.rb, line 87
def paper_trail
  ::PaperTrail::RecordTrail.new(self)
end