PaperTrail
Avo
Our great sponsors
PaperTrail | Avo | |
---|---|---|
18 | 48 | |
6,693 | 1,368 | |
0.4% | 3.3% | |
5.9 | 9.7 | |
3 months ago | 1 day ago | |
Ruby | Ruby | |
MIT License | Creative Commons Attribution Non Commercial 2.5 Generic |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PaperTrail
-
historical data and "point in time" data modeling techniques, advice.
if the source (web) application makes their own audit tables. ex: our ruby on rails application uses the paper-trail gem
-
Best rails tools to automatically handle logging of things like all a user's actions, or changes to a record in a module - primarily for audit purposes.
Start with https://github.com/paper-trail-gem/paper_trail
-
Inventory/Sales Management module built on a Rails app - what would be the best way to "version" updates made against an SKU.
We use paper_trail for this
-
is there a gem for tracking adhoc rails console changes
I think you could use that in conjunction with the paper_trail gem, as /u/GreenCalligrapher571 mentioned, which is also a good suggestion. As an additional note, when changing records in production while using the paper_trail gem, I suggest wrapping your database-mutating statements executed in the rails console within a whodunnit block, so PaperTrail.request(whodunnit: 'Dorian Marié') { widget.update name: 'Wibble' } or something rather than just widget.update name: 'Wibble'. Or, if you have some sort of issue-tracking / ticketing system, you could set the whodunnit value to the ticket number or whatever, and then anyone who wants to know why the records are in the state they're in can consult that ticket, which hopefully has additional relevant context.
-
History Tracking With Postgres
For a while we did this using the paper-trail gem. This was a very simple way to add a few lines of code to keep track of all of the changes made to an ActiveRecord model. But it came with one drawback. Every change to the data had to be done through ActiveRecord. There are often times when this makes an app vulnerable to a race condition. I’ll use a contrived example so as not to share any real code from our client’s app.
-
Adding soft delete to a Phoenix Commanded (CQRS) API
In most designs, this would probably not be possible unless a table tracking extension is being used in an ORM. Even with change tracking enabled through extensions like paper trail or Django simple history, it can be tricky to restore deleted entities. Object tracking would need to have been enabled before it is needed to ensure the data is still around to be restored.
- Looking for a Rails Gem that Audits Manual Database Changes
-
Temporality/time-travelling in DB with ActiveRecord?
Maybe you are looking for the papertrail gem? https://github.com/paper-trail-gem/paper_trail
- Looking for an observer gem
Avo
-
Show HN: Build your startup or side project faster with these SaaS templates
Quality is often much better with these kinds of templates and frameworks, because the creators often can make better default choices.
For example, Avo (https://avohq.io) and Bullet Train (https://bullettrain.co/) are IMHO both much higher quality out of the box than what a typical intermediate Rails developer could accomplish in months of full time learning and coding.
-
Mastering Rails Web Navigation with link_to and button_to Helpers - Part 2
<%= link_to(@car) do %> <%= @car.name %> -- Check this car! <% end %> cars/1"> Tesla -- Check this car! <%= link_to "https://avohq.io/" do %> AvoHQ - The Best Rails Guide <% end %> https://avohq.io/"> AvoHQ - The Best Rails Guide
-
Ready System with a Modern Stack and Many Features Using Ruby 3.2, Rails 7.0 and Avo 2
Access the Avo, and click on Sign Up. After completing registration, click on your profile icon and select Subscriptions, then Choose a plan, choose the Pro version and click on Start 30 day trial. The system URL is not required, click Subscribe. Now you will have your key to use the Avo 2 Pro version for 30 days.
- The Open Source Ruby on Rails SaaS Framework
- What are the cons of using something like https://avohq.io/ ?
-
Experience using Retool and Ruby on Rails
But there's another alternative for Ruby on Rails. This is a shameless plug, but why don't you try Avo?
-
Roast my page: Avo - A low-code tool that helps developers create internal tools, admin panels, and CMS-es with Ruby on Rails
URL: https://avohq.io
-
Ask HN: What would be your stack if you are building an MVP today?
Nothing really beats Rails. Use something like Jumpstart (jumpstartrails.com) and Avo (https://avohq.io) and you scaffold a full consumer-ready app in literally a few hours.
The thing that bugs me the most with Next.JS and the whole JAMStack movement is that, yeah, you get from "git clone" to deployed on Vercel in two minutes, but if you need to create real app features like a sturdy admin, accounts, authorization, proper asset management, CI/CD, it takes a whole lotta time. I'm not even touching the most common app features.
-
Show HN: Refine v3.97 – Open-source React framework for building CRUD apps
Hey. I'm Adrian, author of Avo. Avo is similar to Refine but for Ruby on Rails.
It helps developers create CRUD-like applications such as internal tools, admin panels, Content Management Systems and user-facing apps.
I love seeing more and more movement in this space.
-
Write admin tools from day one
Laravel has Nova, Django has Django Admin, and now, Rails has Avo.
*I am the author of Avo
What are some alternatives?
Audited - Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
ActiveAdmin - The administration framework for Ruby on Rails applications.
Paranoia - acts_as_paranoid for Rails 5, 6 and 7
motor-admin-rails - Low-code Admin panel and Business intelligence Rails engine. No DSL - configurable from the UI. Rails Admin, Active Admin, Blazer modern alternative.
Logidze - Database changes log for Rails
RailsAdmin - RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
mongoid-history - Multi-user non-linear history tracking, auditing, undo, redo for mongoid.
Administrate - A Rails engine that helps you put together a super-flexible admin dashboard.
ActsAsParanoid - ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
Wallaby - Autocomplete the resourceful actions and views for ORMs for admin interface and other purposes.
Discard - 🃏🗑 Soft deletes for ActiveRecord done right
Upmin Admin - Framework for creating powerful admin backends with minimal effort in Ruby on Rails.