There's a lot of open issues
LoggableActivity is a powerful gem for Ruby on Rails that provides seamless user activity logging prepared for GDPR compliance and supporting record relations. It allows you to effortlessly keep track of user actions within your application, capturing who did what and when, even with related records included in the logs. With LoggableActivity, you can maintain the privacy of sensitive information in your logs, making it a perfect solution for applications that require robust audit trails while adhering to strict data protection regulations.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 3.6, >= 3.6.3
~> 7.1.3
~> 7.1.2
~> 1.2, >= 1.2.2
~> 2.1, >= 2.1.2
~> 4.1, >= 4.1.1
 Project Readme

Loggable Activity 🌟

Super easy to use activity log with views out of the box

  • Just add the gem and mount the engine and you have a cool looking activity log.
  • Easy and simple to customize and configure
  • All data are encrypted, and sanitized automatically when needed.

Important!

This project is under development. There might be breaking changes from version to version,
so please consult the CHANGELOG.md before updating.

What it is not

  • An error logging system
  • A paper trails system with rollback.
  • A backup system

Where to use

The activity logger is designed for organizations who needs to keep a log of how users interact with data in the system

  • Finance
  • Healthcare
  • Sales and Support

Super simplified example from the healthcare.

  • Each patient has a journal, that is updated on a regular basis.
  • Supervisor needs to follow the journal, how was it updated, who read it, did it get deleted.
  • Security personnel needs to know how the journal is handled, who did what when.
  • Patients has the right to know how their journal is handled and that their data will be removed when required.

Beside the journal in the db, an activity log is kept so it is possible to track how the journal is used.
At some point in time the patients data from the DB and the activity log has to be removed according to GDPR.

Getting started

please read the GETTING-STARTED.md guide

Contribute

👉 Join the Slack channel here: LoggableActivity Slack Workspace
👉 Want to play around with an online version: Show Demo
We value each contribution and believe in the power of community. Looking forward to seeing you there!

Test

We embrace the philosophy of black-box testing, where we focus on the input and output of the public interface without worrying about internal implementation details.
This approach aligns with the principle of testing behavior rather than implementation.