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_trail ⇒ Object
87 88 89 |
# File 'lib/paper_trail/has_paper_trail.rb', line 87 def paper_trail ::PaperTrail::RecordTrail.new(self) end |