Module: CollectiveIdea::Acts::Audited
- Defined in:
- lib/acts_as_audited.rb
Overview
Specify this act if you want changes to your model to be saved in an audit table. This assumes there is an audits table ready.
class User < ActiveRecord::Base
acts_as_audited
end
See CollectiveIdea::Acts::Audited::ClassMethods#acts_as_audited
for configuration options
Defined Under Namespace
Modules: ClassMethods, InstanceMethods, SingletonMethods
Constant Summary collapse
- CALLBACKS =
:nodoc:
[:audit_create, :audit_update, :audit_destroy]
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
36 37 38 |
# File 'lib/acts_as_audited.rb', line 36 def self.included(base) # :nodoc: base.extend ClassMethods end |