Skip to content

Synsbasen/audit_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AuditLogger

AuditLogger is a super simple audit logger for Ruby on Rails applications. It logs changes to your models in a simple and easy to understand way."

Installation

Add this line to your application's Gemfile:

gem "audit_logger"

And then execute:

$ bundle

Install and run the migrations:

$ bundle exec rails audit_logger:install:migrations
$ bundle exec rails db:migrate

Configure ignored attributes (if any) by creating an initializer (config/initializers/audit_logger.rb):

AuditLogger.configure do |config|
  config.ignored_attributes = %i[id created_at updated_at deleted_at some_other_attribute_to_ignore]
end

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published