Skip to content

Rails plugin that enables easy audit logging of active_record classes

License

Notifications You must be signed in to change notification settings

nathanhumbert/audit_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AuditLogger
===========

AuditLogger is a plugin that is intended to make lifecycle logging of ActiveResource objects easy. 
The main goals of audit logger are:

* Setup should be super easy
* The database structure should be limited to helping access data
* Changing the attributes of the model does not affect the plugin
* Easy to implement data retention plan

Example
=======

$ script/generate audit_loggger AuditLogEntry
$ rake db:migrate

Then add the following line to any model you want to have logged

 uses_audit_logger("AuditLogEntry")

Restart your app and any changes to an object from that model will be logged.


Copyright (c) 2009 Nathan Humbert, released under the MIT license

About

Rails plugin that enables easy audit logging of active_record classes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages