Module: PaperTrail::Model::InstanceMethods

Defined in:
lib/paper_trail/has_paper_trail.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#paper_trailObject



81
82
83
# File 'lib/paper_trail/has_paper_trail.rb', line 81

def paper_trail
  ::PaperTrail::RecordTrail.new(self)
end