Module: PaperTrail::Model

Defined in:
lib/mongo_trails/has_paper_trail.rb

Overview

Extensions to ‘ActiveRecord::Base`. See `frameworks/active_record.rb`. It is our goal to have the smallest possible footprint here, because `ActiveRecord::Base` is a very crowded namespace! That is why we introduced `.paper_trail` and `#paper_trail`.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



14
15
16
# File 'lib/mongo_trails/has_paper_trail.rb', line 14

def self.included(base)
  base.send :extend, ClassMethods
end