How to Create A Flexible, Performant Audit Trail In Ruby on Rails With A GraphQL API

This page summarizes the projects mentioned and recommended in the original post on dev.to

Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • PublicActivity

    Easy activity tracking for models - similar to Github's Public Activity

    You often want to track what user's are doing throughout your app. There are some gems that help you do this. For example, activerecord_activity_tracker or public_activity. However, gems like these sometimes utilize polymorphic relationships, which don't scale well, or they're very opinionated about the setup. When your requirements differ from the default setup, it can become cumbersome to implement.

  • Scout Monitoring

    Performance metrics and, now, Logs Management Monitoring with Scout Monitoring. Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.

    Scout Monitoring logo
  • jsonb_accessor

    Adds typed jsonb backed fields to your ActiveRecord models.

    We use the nifty JSONb Accessor gem to create accessor methods for the relevant fields. You can also use anything in ActiveModel including validations. This takes advantage of ActiveRecord's single table inheritance features where the model name, in this case update_post is stored in the type field in TrackedEvent.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Is JSONB + Postgres still a viable way of storing varying attributes?

    7 projects | /r/rails | 8 Feb 2023
  • Is there a way you can create a base model and your client may add attributes as needed?

    2 projects | /r/rails | 4 Dec 2021
  • A newbie's look at N+1 queries

    1 project | dev.to | 27 Jun 2024
  • RDS Database Migration Series - Facing The Giant: How we migrated 11 TB database

    2 projects | dev.to | 13 May 2024
  • N1Loader is alive as ever Enhance your GraphQL API by getting rid of N+1 issues

    1 project | news.ycombinator.com | 30 Jul 2023

Did you konow that Ruby is
the 12th most popular programming language
based on number of metions?