Skip to content

hartct/auditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Provides audit logging features for controllers. Audit logging is written to a database table with the request URI, requestor IP address, date/time stamp, and user ID (provided by the application).

Installation

First, install the gem:

  • gem install auditor

Second, generate the model for recording audit log entries:

  • rails generate auditor

Third, run the model migration:

  • rake db:migrate

Fourth, add the following line to any controller you want audited (or to application_controller to have it apply globally):

  • is_audited

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages