Module: SnailTrail::Model::InstanceMethods
- Defined in:
- lib/snail_trail/has_snail_trail.rb
Overview
Wrap the following methods in a module so we can include them only in the ActiveRecord models that declare ‘has_snail_trail`.
Instance Method Summary collapse
Instance Method Details
#snail_trail ⇒ Object
87 88 89 |
# File 'lib/snail_trail/has_snail_trail.rb', line 87 def snail_trail ::SnailTrail::RecordTrail.new(self) end |