Module: Mongoid::SimpleAudit::Model

Extended by:
ActiveSupport::Concern
Defined in:
lib/mongoid/simple_audit/simple_audit.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#auditObject



16
17
18
# File 'lib/mongoid/simple_audit/simple_audit.rb', line 16

def audit
  Audit.find_by_auditable( self )
end