I'm looking for a Rails 4 supported gem that does auditing related tasks. Similar gems I found, but are not supporting Rails 4 (except for paper-trail, but it has all of that versioning stuff that I don't need):
github audited
github pfeed
github userstamp
github paper_trail
Does anyone have any recommendations? Audited gem seems to be the most similar to what I'm looking for.
Thanks! :-)
Audited currently (5.x) works with Rails 7.0, 6.1, 6.0, 5.2, 5.1, and 5.0. For Rails 4, use gem version 4.x For Rails 3, use gem version 3.0 or see the 3.0-stable branch. Audited supports and is tested against the following Ruby versions:
Then, from your Rails app directory, create the audits table: By default changes are stored in YAML format. If you're using PostgreSQL, then you can use rails generate audited:install --audited-changes-column-type jsonb (or json for MySQL 5.7+ and Rails 5+) to store audit changes natively with database JSON column types.
If you're using PostgreSQL, then you can use rails generate audited:install --audited-changes-column-type jsonb (or json for MySQL 5.7+ and Rails 5+) to store audit changes natively with database JSON column types.
Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
Came across paper_trail which seems to be an auditing library which is under active development.
After some evaluation I chose this library for one of my projects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With